mirror of
https://github.com/r-ca/kidshift-be.git
synced 2024-10-25 16:14:02 +00:00
ログ追加
This commit is contained in:
parent
0d594df96f
commit
aa8cd6e0c1
|
@ -26,6 +26,7 @@ router.post('/login', (req: Request, res: Response) => {
|
|||
// フィールドにcodeがあるか確認
|
||||
if (req.body.code) {
|
||||
// codeがある場合はcodeでログイン
|
||||
logger.info("Login with code");
|
||||
const { code } = req.body;
|
||||
loginUserWithCode(code)
|
||||
.then((token: String | null) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user