Compare commits

..

2 Commits

Author SHA1 Message Date
Dmitriy_Kravchenko ec98ec5ef8 disabled control for task copies 2026-05-04 09:10:20 +03:00
Dmitriy_Kravchenko 367efdcfb3 directory cleanup 2026-04-27 16:30:09 +03:00
2 changed files with 2 additions and 8 deletions

View File

@ -1,7 +0,0 @@
DB_CONN=postgres://btr_db_user:StrongPassword123@localhost:5432/btr_db
OBS_API_URL=https://script.google.com/macros/s/AKfycbwilIPLrUQR0hSFseTRQPyVQon4rO-TmXJ0bceovj9xwhC5GM3CelOtVnFAdlxFOqaQvQ/exec
DEPS_API_URL=https://script.google.com/macros/s/AKfycbyiRLAPyszxpYGCrwDreAJt3jxO4eXsNw31dylyMR_OBRr27FFhhYXl_1Uz_NanRUE6/exec
BITRIX_TASK_API_URL=https://thebest.bitrix24.ru/rest/334/748roorgdjcdji3f/
LOAD_BALANCER_API_URL=https://45.10.40.213.nip.io/balancer/api/balancer/send
LOAD_BALANCER_PRIVATE_KEY=89bab1c15544e7bb667b773df786e65f9aed0bf173a84e66e2a88aec3f0014d89a289807c34f71c876b79f67997c9ac281ffd19d00fe8582ebcda97660bddaa3
LOAD_BALANCER_PUBLIC_KEY=68929830b9a07e7c6fa1d4bdfbcafe798a50de4da2969e743fee690dfaec3fb4

View File

@ -120,7 +120,8 @@ func processNewTaskEvent(ctx context.Context, event *BitrixEvent, mandatoryAudit
func isTaskControlNeeded(taskName string) bool {
codeSubstrEnd := strings.Index(taskName, "#")
return codeSubstrEnd != -1
isCopy := strings.Index(taskName, "Копия ") == 0
return codeSubstrEnd != -1 && !isCopy
}
func isTaskControl(taskName string) bool {