added group task description

main
alex 2023-05-19 13:49:36 +02:00
parent 48a6fa411b
commit 23035918fc
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ type GroupTasks struct {
Category string
GroupId string
GroupName string
Description string // user-specific description for faster retrieval
CurrentTasksStep uint8
NumberOfSteps uint8
Status uint8

View File

@ -91,6 +91,7 @@ func RunHub() {
Category: category,
GroupId: groupId,
GroupName: receivedMessage.Body["groupName"].(string),
Description: receivedMessage.Body["description"].(string),
CurrentTasksStep: 1,
NumberOfSteps: uint8(receivedMessage.Body["numberOfSteps"].(float64)),
Status: structs.GroupTasksStatusRunning,