server: fix unknown variable in signin endpoint

This commit is contained in:
Johann150 2022-11-25 19:09:08 +01:00
parent 062cba1b3c
commit d0c504ec85
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -32,7 +32,7 @@ export default async (ctx: Koa.Context) => {
message: e!.message,
code: e!.code,
...(e!.info ? { info: e!.info } : {}),
endpoint: endpoint.name,
endpoint: 'signin',
},
};
}