Skip to content

Commit

Permalink
update api return type
Browse files Browse the repository at this point in the history
  • Loading branch information
emrgnt-cmplxty committed Aug 23, 2024
1 parent 06c5c1e commit a128921
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions py/core/main/api/routes/management/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,9 @@ async def add_user_to_group_app(
)
user_uuid = UUID(user_id)
group_uuid = UUID(group_id)
result = await self.engine.aadd_user_to_group(
return await self.engine.aadd_user_to_group(
user_uuid, group_uuid
)
return {"result": result}

@self.router.post("/remove_user_from_group")
@self.base_endpoint
Expand Down

0 comments on commit a128921

Please sign in to comment.