diff --git a/tracker/collab.go b/tracker/collab.go index 3be9f5d128969b9f26b6c6fc0b3f00b277ce259f..f3c8638d5886b44ab08b59fc43dde69aa95075a2 100644 --- a/tracker/collab.go +++ b/tracker/collab.go @@ -16,6 +16,19 @@ import ( "gitlab.qarea.org/tgms/collabms/entities" ) +const ( + important = "Important" + not_important = "Default" +) + +func CollabTaskPriority(prio bool) string { + if prio { + return important + } else { + return not_important + } +} + type trackerWithAuth struct { entities.Tracker auth auth