Merge pull request 'Update flow nodes api' (#74) from fix-permissions into main
Deploy / deploy (push) Successful in 2m26s Details

Reviewed-on: https://72.56.235.246.nip.io/gitea/romanskijdev/ruspet_portal_back/pulls/74
This commit is contained in:
romanskijdev 2026-07-17 16:12:47 +03:00
commit 39a0fabd6a
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@ func NewRegistry(ipc *types.InternalProviderControl) *Registry {
topics: make(map[string]approvalflow.Topic),
topicCodeToCategory: make(map[string]string),
}
r.topicCodeToCategory["timeoff"] = "absence"
r.topicCodeToCategory["vacation"] = "absence"
r.topicCodeToCategory["sickleave"] = "absence"
return r
}