Merge pull request 'Updated flows tree' (#90) from fix-permissions into main
Deploy / deploy (push) Failing after 3m3s Details

Reviewed-on: https://72.56.235.246.nip.io/gitea/romanskijdev/ruspet_portal_back/pulls/90
This commit is contained in:
romanskijdev 2026-08-04 13:06:15 +03:00
commit 246ee40dc5
1 changed files with 4 additions and 1 deletions

View File

@ -289,6 +289,7 @@ func (u *UserHierarchyDB) GetHierarchiesWithRelations(ctx context.Context, opts
"uh.topic_category_id",
"uh.topic_id",
"uh.priority",
"uh.target_system",
"uh.created_at",
"uh.updated_at",
"sub.id", "sub.full_name", "sub.username",
@ -350,7 +351,9 @@ func (u *UserHierarchyDB) GetHierarchiesWithRelations(ctx context.Context, opts
err := rows.Scan(
&h.ID, &h.SubordinateID, &h.ApproverID, &h.DepartmentID,
&h.TopicCategoryID, &h.TopicID, &h.Priority, &h.CreatedAt, &h.UpdatedAt,
&h.TopicCategoryID, &h.TopicID, &h.Priority,
&h.TargetSystem,
&h.CreatedAt, &h.UpdatedAt,
&h.Subordinate.ID, &h.Subordinate.FullName, &h.Subordinate.Username,
&h.Approver.ID, &h.Approver.FullName, &h.Approver.Username,
&h.Department.ID, &h.Department.Name,