Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
That should be a string...
Browse files Browse the repository at this point in the history
  • Loading branch information
talavis committed Jun 22, 2021
1 parent eefa2e5 commit e9aefbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def migrate_v2_to_v3(db):
* Remove the ``DATA_LIST`` and ``STATISTICS`` permissions from all users.
"""
logging.info("Remove the DATA_LIST and STATISTICS permissions")
db["users"].update_many({}, {"$pull": {"permissions": {$in: ["STATISTICS", "DATA_LIST"]}}})
db["users"].update_many({}, {"$pull": {"permissions": {"$in": ["STATISTICS", "DATA_LIST"]}}})


# Position 0 is empty since the first release is 1
Expand Down

0 comments on commit e9aefbf

Please sign in to comment.