Delay PF permit competitor removal
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 35s

This commit is contained in:
Grendgi
2026-06-05 12:36:15 +03:00
parent 7a4d03c905
commit 1b8382a6ca
5 changed files with 23 additions and 3 deletions

View File

@@ -115,7 +115,7 @@ def cmd_suggest(payload: dict[str, Any]) -> None:
project = db.get(Project, project_id)
if not project:
_fail("project not found")
changes, suggestions, permit = sync_permit_competitors(db, project)
changes, suggestions, permit = sync_permit_competitors(db, project, count_missing=False)
db.commit()
if changes:
notify_project_changes(project, changes)