caccl-authorizer
Advanced tools
Comparing version 1.0.44 to 1.0.45
@@ -152,3 +152,10 @@ const fs = require('fs'); | ||
}); | ||
const scopes = [].concat(...scopeLists); | ||
const scopes = Array.from( | ||
// Remove duplicates by putting items in a set | ||
new Set( | ||
[].concat(...scopeLists) | ||
) | ||
); | ||
const scopeString = scopes.join(' '); | ||
@@ -155,0 +162,0 @@ scopeAuthPageQueryAddon = `&scopes=${encodeURIComponent(scopeString)}`; |
{ | ||
"name": "caccl-authorizer", | ||
"version": "1.0.44", | ||
"version": "1.0.45", | ||
"description": "Acquires Canvas tokens through via OAuth, stores refresh tokens, and refreshes access tokens when they expire.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88332
2040