fix: workspace label cache (#6587)
This commit is contained in:
parent
4fd8b4a3a9
commit
9d01a6d5d7
1 changed files with 3 additions and 1 deletions
|
|
@ -35,7 +35,9 @@ class LabelViewSet(BaseViewSet):
|
|||
.order_by("sort_order")
|
||||
)
|
||||
|
||||
@invalidate_cache(path="/api/workspaces/:slug/labels/", url_params=True, user=False)
|
||||
@invalidate_cache(
|
||||
path="/api/workspaces/:slug/labels/", url_params=True, user=False, multiple=True
|
||||
)
|
||||
@allow_permission([ROLE.ADMIN])
|
||||
def create(self, request, slug, project_id):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue