Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Nexus.js

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

2 changes: 1 addition & 1 deletion lib/Nexus.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/Nexus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ class Nexus {
* the second 32bit block identifies the mod) clients should use BigInt to do the math and
* then pass them in as strings
*/
public async modsByUid(query: graphQL.IModQuery, uids: string[]): Promise<Partial<types.IMod>[]> {
public async modsByUid(query: graphQL.IModQuery, uids: string[]): Promise<Partial<types.IMod>[]> {
const res: Partial<types.IMod>[] = [];
for (const chunk of chunkify(uids, param.MAX_BATCH_SIZE)) {
await this.mQuota.wait();
Expand All @@ -867,7 +867,7 @@ class Nexus {
{
uids: { type: '[ID!]', optional: false },
},
{ nodes: chunk }, { uids },
{ nodes: query }, { uids: chunk },
this.args({ path: this.filter({}) }))).nodes);
}

Expand Down