forked from FoundKeyGang/FoundKey
server: fix unknown variable in signin endpoint
This commit is contained in:
parent
062cba1b3c
commit
d0c504ec85
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export default async (ctx: Koa.Context) => {
|
||||||
message: e!.message,
|
message: e!.message,
|
||||||
code: e!.code,
|
code: e!.code,
|
||||||
...(e!.info ? { info: e!.info } : {}),
|
...(e!.info ? { info: e!.info } : {}),
|
||||||
endpoint: endpoint.name,
|
endpoint: 'signin',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue