1.2.4 add get_permission_for_highlight

This commit is contained in:
SDE
2024-06-11 01:03:25 +03:00
parent 3a18688143
commit b527d18a3c
2 changed files with 16 additions and 1 deletions

View File

@@ -132,6 +132,10 @@ class SubscribeForUser(BaseModel):
).exclude(
id=self.id
)
subscribes_for_user.update(enable=False)
subscribes_for_user.update(
enable=False,
used_route_rising_count=0,
used_route_highlight_count=0,
)
return self