1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-09 07:20:05 +00:00

chore: improve code

This commit is contained in:
2022-09-21 22:27:27 +05:00
parent 330c020933
commit d93470d183
2 changed files with 6 additions and 12 deletions

View File

@@ -74,7 +74,7 @@ const token = async (data: any): Promise<TokenResponse> => {
AuthController.deleteCode(userInfo.userId, clientId)
// // get tokens from DB
// get tokens from DB
const existingTokens = await getTokensFromDB(userInfo.userId, clientId)
if (existingTokens) {
return {