rm country param (#3653)
parent
861804629a
commit
49b5d420e6
|
@ -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…
Reference in New Issue