Skip to content

Commit

Permalink
fix(Util): typo in comments (#1690)
Browse files Browse the repository at this point in the history
* fix(Util): typo in comments
  • Loading branch information
WaitSpringQW authored Jan 30, 2025
1 parent e3c2caf commit 0dd7aad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/Util/Util.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/Util/modules/queryGlobalUserGroups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ async function queryGlobalUserGroups(guiuser: string) {
let groups: string[] = [];

// Query from cache
// Check if user group info is cached in LocalStroage
// If cached, get them from LocalStroage
// Check if user group info is cached in LocalStorage
// If cached, get them from LocalStorage
if (mw.storage.getObject(CACHE_KEY_PREFIX + guiuser)) {
groups = mw.storage.getObject(CACHE_KEY_PREFIX + guiuser) as string[];
// Remove '*' from groups
Expand Down
4 changes: 2 additions & 2 deletions src/Util/modules/queryUserGroups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ async function queryUserGroups(users: string[]) {

// Query from cache
for (const user of users) {
// Check if user group info is cached in LocalStroage
// If cached, get them from LocalStroage
// Check if user group info is cached in LocalStorage
// If cached, get them from LocalStorage
if (mw.storage.getObject(CACHE_KEY_PREFIX + user)) {
let groups = mw.storage.getObject(CACHE_KEY_PREFIX + user) as string[];
// Remove '*' from groups
Expand Down

0 comments on commit 0dd7aad

Please sign in to comment.