Skip to content

Commit

Permalink
Update webui/src/lib/api/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ariel Shaqed (Scolnicov) <[email protected]>
  • Loading branch information
nopcoder and arielshaqed authored Dec 10, 2023
1 parent 1406e41 commit ea32443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/src/lib/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LocalCache {
const cache = new LocalCache();

export const qs = (queryParts) => {
const parts = Object.keys(queryParts).map(key => [key, queryParts[key]]);
const parts = Object.entries(queryParts);
return new URLSearchParams(parts).toString();
};

Expand Down

0 comments on commit ea32443

Please sign in to comment.