Fix typo incomming -> incoming
This commit is contained in:
parent
d0f95140df
commit
165e00e0df
|
@ -152,8 +152,8 @@ async def get_user_invitatinos(user_id: PydanticObjectId, user: CurrentUserDep)
|
|||
return [InvitationData.from_invitation(invitation) for invitation in invitations]
|
||||
|
||||
|
||||
@base_router.get("/users/{user_id}/invitations/incomming")
|
||||
async def get_user_incomming_invitatinos(user_id: PydanticObjectId, user: CurrentUserDep) -> list[InvitationData]:
|
||||
@base_router.get("/users/{user_id}/invitations/incoming")
|
||||
async def get_user_incoming_invitatinos(user_id: PydanticObjectId, user: CurrentUserDep) -> list[InvitationData]:
|
||||
"""Get all incoming invitations for a given user.
|
||||
|
||||
Note that this endpoint only allows you to access the invitations you received.
|
||||
|
|
Loading…
Reference in a new issue