optimize settings helper

This commit is contained in:
Julian Krauser 2025-04-20 15:32:57 +02:00
parent 730c25a9a1
commit a8edc19f34
11 changed files with 343 additions and 119 deletions

View file

@ -78,7 +78,7 @@ export async function createWebapi(req: Request, res: Response): Promise<any> {
let token = await JWTHelper.create(
{
iss: SettingHelper.getSetting("club.name") as string,
iss: SettingHelper.getSetting("club.name"),
sub: "api_token_retrieve",
aud: StringHelper.random(32),
},