Skip to content

Commit

Permalink
Fix typing for GroupService.add_members
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonxslays committed Nov 26, 2023
1 parent d60d6b0 commit 1c729b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wom/services/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ async def delete_group(
return result.Ok(models.HttpSuccessResponse(data.status, data.message))

async def add_members(
self, id: int, verification_code: str, *members: models.GroupMemberFragment
self, id: int, verification_code: str, *members: t.Union[str, models.GroupMemberFragment]
) -> ResultT[models.HttpSuccessResponse]:
"""Adds members to an existing group.
Expand Down

0 comments on commit 1c729b1

Please sign in to comment.