Skip to content

Commit

Permalink
fix localCache.Du("host.profile.userId")
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamarine5 committed Jan 17, 2025
1 parent d56bdd9 commit 0f50e75
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "BetterCloudSearch",
"version": "1.3",
"version": "1.4",
"author": "aquamarine5",
"author_links": [
"https://github.com/aquamarine5/BetterCloudSearch"
Expand Down
2 changes: 1 addition & 1 deletion dist/startup_script.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "BetterCloudSearch",
"version": "1.3",
"version": "1.4",
"author": "aquamarine5",
"author_links": [
"https://github.com/aquamarine5/BetterCloudSearch"
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ plugin.onLoad(() => {
console.log(`Resolved cloudsearch(arg: ${queryString}):`, data)
resolve(data)
}
let userid = window.ctl.cloudListManager.NI.uid
let userid = localCache.Du("host.profile.userId")
let loadmaxlimitnumber = window["loadmaxlimit"]()
var queryData = {
data: { uid: userid, offset: 0, total: true, limit: loadmaxlimitnumber, keyword: queryString },
Expand Down
2 changes: 1 addition & 1 deletion src/startup_script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
console.log(`Resolved cloudsearch(arg: ${queryString}):`, data)
resolve(data)
}
let userid = window.ctl.cloudListManager.NI.uid
let userid = localCache.Du("host.profile.userId")
let loadmaxlimitnumber = window["loadmaxlimit"]()
var queryData = {
data: { uid: userid, offset: 0, total: true, limit: loadmaxlimitnumber, keyword: queryString },
Expand Down

0 comments on commit 0f50e75

Please sign in to comment.