Skip to content

Commit

Permalink
Update index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg authored Feb 10, 2025
1 parent e87b3b8 commit 16aaa98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jamesql/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def add(
self.gsis[key]["gsi"][value]["length"] = len(value)
self.gsis[key]["gsi"][value]["documents"]["uuid"][
document["uuid"]
].append(0)
].add(0)
self.gsis[key]["gsi"][value]["documents"]["count"][
document["uuid"]
] += 1
Expand Down

0 comments on commit 16aaa98

Please sign in to comment.