This commit is contained in:
lesion
2022-04-27 10:07:04 +02:00
parent 4e8f945a3b
commit 5ae3a9eeb3
5 changed files with 11 additions and 12 deletions

View File

@@ -137,8 +137,7 @@ const oauthController = {
code.userId = user.id
code.clientId = client.id
code.expiresAt = dayjs(code.expiresAt).toDate()
const ret = await OAuthCode.create(code)
return ret
return OAuthCode.create(code)
},
// TODO