#7897 - masterTest_24_36 #2909

Merged
jsegarra merged 132 commits from 7897_masterTest_24_36 into master 2024-09-03 06:37:54 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 4d820f1003 - Show all commits

View File

@ -30,8 +30,11 @@ module.exports = Self => {
// Schedule to remove current token
setTimeout(async() => {
if (await models.AccessToken.findById(token.id))
try {
await Self.logout(token.id);
} catch (error) {
// FIXME: Crash if do throw new Error(error)
}
}, courtesyTime * 1000);
// Get scopes