This commit is contained in:
@@ -73,6 +73,10 @@ class LanguageService {
|
|||||||
url.searchParams.append('languages', lang)
|
url.searchParams.append('languages', lang)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!env.TOLGEE_API_KEY) {
|
||||||
|
throw new Error('TOLGEE_API_KEY not set')
|
||||||
|
}
|
||||||
|
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in New Issue
Block a user