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]
|
return [InvitationData.from_invitation(invitation) for invitation in invitations]
|
||||||
|
|
||||||
|
|
||||||
@base_router.get("/users/{user_id}/invitations/incomming")
|
@base_router.get("/users/{user_id}/invitations/incoming")
|
||||||
async def get_user_incomming_invitatinos(user_id: PydanticObjectId, user: CurrentUserDep) -> list[InvitationData]:
|
async def get_user_incoming_invitatinos(user_id: PydanticObjectId, user: CurrentUserDep) -> list[InvitationData]:
|
||||||
"""Get all incoming invitations for a given user.
|
"""Get all incoming invitations for a given user.
|
||||||
|
|
||||||
Note that this endpoint only allows you to access the invitations you received.
|
Note that this endpoint only allows you to access the invitations you received.
|
||||||
|
|
Loading…
Reference in a new issue