fix: selects
This commit is contained in:
@@ -51,3 +51,14 @@ export async function initCountryCurrency() {
|
||||
console.error('Failed to fetch languages:', error)
|
||||
}
|
||||
}
|
||||
|
||||
export async function switchLocalization() {
|
||||
try {
|
||||
await useFetchJson('/api/v1/public/auth/update-choice', {
|
||||
method: 'POST'
|
||||
})
|
||||
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user