Skip to content

Commit

Permalink
fix(translations): set endpoint public
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Dec 1, 2024
1 parent b71bc1f commit a8ea6a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ class Translations extends Core {
});
}

@Get('/')
@Get('/', {
scope: 'public',
})
async getTranslations () {
const responses = flatten(this.translations[getLang()]);
for (const key of Object.keys(responses)) {
Expand Down

0 comments on commit a8ea6a2

Please sign in to comment.