Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanaktas0 committed Nov 23, 2023
1 parent 299e37b commit 29b0c41
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions project/backend/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,8 @@ def get_workspace_from_id(request):
'entry_number':entry.entry_number,})
semantic_tags = []
for tag in workspace.semantic_tags.all():
semantic_tags.append({'label':tag.label,
'desc':tag.desc,
'parent_tag':tag.parent_tag,
'created_at':tag.created_at})
semantic_tags.append({'wid':tag.wid,
'label':tag.label,})
contributors = []
for cont in Contributor.objects.filter(workspaces=workspace):
user = User.objects.get(id=cont.user_id)
Expand Down

0 comments on commit 29b0c41

Please sign in to comment.