mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Await promise not being awaited
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user