7152-devToTest_2414 #2228

Merged
alexm merged 636 commits from 7152-devToTest_2414 into test 2024-03-28 08:26:34 +00:00
1 changed files with 5 additions and 1 deletions
Showing only changes of commit a078de9521 - Show all commits

View File

@ -167,7 +167,11 @@ module.exports = function(Self) {
console.warn(err); console.warn(err);
} }
return {token: token.id, ttl: token.ttl}; const multimediaToken = await token.user().accessTokens.create({
scopes: ['read:multimedia']
});
return {token: token.id, ttl: token.ttl, multimediaToken};
}; };
Self.userUses = function(user) { Self.userUses = function(user) {