Fix typo incomming -> incoming

This commit is contained in:
Peter Vacho 2025-01-04 13:03:22 +01:00
parent d0f95140df
commit 165e00e0df
Signed by: school
GPG key ID: 8CFC3837052871B4

View file

@ -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.