Skip to content

Commit

Permalink
fixed return error when adding tags
Browse files Browse the repository at this point in the history
  • Loading branch information
zgoldberg22 committed Dec 22, 2023
1 parent 1d8cbbd commit 2d93791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aerie_cli/aerie_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def add_plan_tag(self, plan_id: int, tag_name: str):
tag_id=self.get_tag_id_by_name(tag_name)
)

return resp[0]
return resp['returning'][0]

def create_activity_plan(
self, model_id: int, plan_to_create: ActivityPlanCreate
Expand Down

0 comments on commit 2d93791

Please sign in to comment.