[WEB-2092] chore: soft delete migration (#5286)

* chore: soft delete migration

* chore: page deletion role check
This commit is contained in:
Bavisetti Narayan 2024-08-02 13:15:59 +05:30 committed by GitHub
parent e9b1151702
commit 76983a57e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 1391 additions and 560 deletions

View file

@ -1154,7 +1154,7 @@ class CycleFavoriteViewSet(BaseViewSet):
workspace__slug=slug,
entity_identifier=cycle_id,
)
cycle_favorite.delete(soft=False)
cycle_favorite.delete()
return Response(status=status.HTTP_204_NO_CONTENT)