Skip to content

Commit

Permalink
Fix double-add to a collection
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminCharmes committed Sep 23, 2024
1 parent ef5ddfa commit ab1b98e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pydatalab/pydatalab/routes/v0_1/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ def add_items_to_collection(collection_id):
"relation": None,
"type": "collections",
"immutable_id": ObjectId(collection["_id"]),
"item_id": None,
"refcode": None,
}
}
},
Expand Down

0 comments on commit ab1b98e

Please sign in to comment.