mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-05-11 18:36:17 +02:00
Await promise not being awaited
This commit is contained in:
parent
f67244663e
commit
2ef3d68af0
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export async function getConfigEndpoint(req: Request, res: Response): Promise<Re
|
|||
|
||||
try {
|
||||
return res.status(200).json({
|
||||
value: getServerConfig(key)
|
||||
value: await getServerConfig(key)
|
||||
});
|
||||
} catch (e) {
|
||||
Logger.error(e as string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue