forked from github/plane
fix: remove caching when joining workspace (#4192)
This commit is contained in:
parent
54196aafc0
commit
c670a31836
@ -170,6 +170,12 @@ class WorkspaceJoinEndpoint(BaseAPIView):
|
||||
|
||||
@invalidate_cache(path="/api/workspaces/", user=False)
|
||||
@invalidate_cache(path="/api/users/me/workspaces/")
|
||||
@invalidate_cache(
|
||||
path="/api/workspaces/:slug/members/",
|
||||
user=False,
|
||||
multiple=True,
|
||||
url_params=True,
|
||||
)
|
||||
def post(self, request, slug, pk):
|
||||
workspace_invite = WorkspaceMemberInvite.objects.get(
|
||||
pk=pk, workspace__slug=slug
|
||||
|
Loading…
Reference in New Issue
Block a user