Skip to content

Commit

Permalink
missing entry in relatedGroups
Browse files Browse the repository at this point in the history
  • Loading branch information
au5ton committed Feb 25, 2023
1 parent 0a0bcd5 commit 7f0f580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundler/bundle/patch/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def generate(source: Path, destination: Path):
with open(destination / f'patch-0d-groupdefaults-{time_ns()}.json', 'w') as out:
out.write(str(
Patchfile(f'/groups/{GROUP_ID}')
.append('relatedGroups', 'firebase.firestore.DocumentReference', [ f'/groups/{default["identifier"]}-{cc2["groupNavoid"]}' for cc2 in history if cc2["groupNavoid"] != cc["groupNavoid"] ], many=True)
.append('relatedGroups', 'firebase.firestore.DocumentReference', [f'/groups/{default["identifier"]}'] + [ f'/groups/{default["identifier"]}-{cc2["groupNavoid"]}' for cc2 in history if cc2["groupNavoid"] != cc["groupNavoid"] ], many=True)
))
bar()

Expand Down

0 comments on commit 7f0f580

Please sign in to comment.