diff --git a/server/src/routes/api/register.ts b/server/src/routes/api/register.ts index c967462..3c8bd01 100644 --- a/server/src/routes/api/register.ts +++ b/server/src/routes/api/register.ts @@ -35,7 +35,7 @@ const methods: Method[] = [ export function registerApis(app: Application) { methods.forEach(({ method, endpoints }) => { endpoints.forEach(endpoint => { - // @ts-ignore + // @ts-expect-error app[method](prependApiPath(endpoint.path), endpoint.handler) }) })