Skip to content

Commit

Permalink
Fix typo (#21)
Browse files Browse the repository at this point in the history
upsertItems function should use items var name and not users
  • Loading branch information
boardmain authored Feb 23, 2024
1 parent 263f797 commit 6c0e6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ class Gorse<T extends string> {
return getItems(this.axiosClient, options);
}

upsertItems(users: Item[]) {
return upsertItems(this.axiosClient, users);
upsertItems(items: Item[]) {
return upsertItems(this.axiosClient, items);
}

getItemNeighbors(options: ItemNeighborsOptions) {
Expand Down

0 comments on commit 6c0e6f2

Please sign in to comment.