fix: typo in invitation query (#189)

This commit is contained in:
pablohashescobar 2023-01-26 11:41:31 +05:30 committed by GitHub
parent 0fd96d592d
commit 9134b0c543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ class InviteWorkspaceEndpoint(BaseAPIView):
workspace_members = WorkspaceMember.objects.filter(
workspace_id=workspace.id,
member__email__in=[email.get("email") for email in emails],
).select_related("member", "worspace", "workspace__owner")
).select_related("member", "workspace", "workspace__owner")
if len(workspace_members):
return Response(