Skip to content

Commit

Permalink
fixed api key scope validation
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickFuereder committed Feb 3, 2025
1 parent 415ec33 commit 557923d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/js/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ async function createApiKey() {
return;
}

const inputScopes = input.split(' ');
const inputScopes = document.getElementById('scope').value.split(' ');
for (const inputScope of inputScopes) {
const [category, scopeValue] = inputScope.split(':');
const categoryScopes = availableScopes.find(sc => sc.category === category);
Expand Down

0 comments on commit 557923d

Please sign in to comment.