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