added group task description
parent
48a6fa411b
commit
23035918fc
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue