Skip to content

Commit

Permalink
Fix for DELETE CO API #1059
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Jan 29, 2025
1 parent d123c42 commit 425a0ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/api/collaboration.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,12 @@ def delete_collaboration_api(co_identifier):
confirm_api_key_unit_access(api_key, collaboration)

collaboration_id = collaboration.id
organisation_id = collaboration.organisation_id

tag_identifiers = [tag.id for tag in collaboration.tags]

broadcast_collaboration_deleted(collaboration_id)
emit_socket(f"organisation_{collaboration.organisation_id}")
emit_socket(f"organisation_{organisation_id}")

res = delete(Collaboration, collaboration_id)

Expand Down

0 comments on commit 425a0ed

Please sign in to comment.