rm country param (#3653)
This commit is contained in:
parent
861804629a
commit
49b5d420e6
1 changed files with 0 additions and 4 deletions
|
@ -65,10 +65,6 @@ function createTenorApi<Input extends object>(
|
||||||
|
|
||||||
if (locale) {
|
if (locale) {
|
||||||
params.set('locale', locale.languageTag.replace('-', '_'))
|
params.set('locale', locale.languageTag.replace('-', '_'))
|
||||||
|
|
||||||
if (locale.regionCode) {
|
|
||||||
params.set('country', locale.regionCode)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const [key, value] of Object.entries(input)) {
|
for (const [key, value] of Object.entries(input)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue