added group task description
parent
48a6fa411b
commit
23035918fc
|
@ -20,6 +20,7 @@ type GroupTasks struct {
|
||||||
Category string
|
Category string
|
||||||
GroupId string
|
GroupId string
|
||||||
GroupName string
|
GroupName string
|
||||||
|
Description string // user-specific description for faster retrieval
|
||||||
CurrentTasksStep uint8
|
CurrentTasksStep uint8
|
||||||
NumberOfSteps uint8
|
NumberOfSteps uint8
|
||||||
Status uint8
|
Status uint8
|
||||||
|
|
|
@ -91,6 +91,7 @@ func RunHub() {
|
||||||
Category: category,
|
Category: category,
|
||||||
GroupId: groupId,
|
GroupId: groupId,
|
||||||
GroupName: receivedMessage.Body["groupName"].(string),
|
GroupName: receivedMessage.Body["groupName"].(string),
|
||||||
|
Description: receivedMessage.Body["description"].(string),
|
||||||
CurrentTasksStep: 1,
|
CurrentTasksStep: 1,
|
||||||
NumberOfSteps: uint8(receivedMessage.Body["numberOfSteps"].(float64)),
|
NumberOfSteps: uint8(receivedMessage.Body["numberOfSteps"].(float64)),
|
||||||
Status: structs.GroupTasksStatusRunning,
|
Status: structs.GroupTasksStatusRunning,
|
||||||
|
|
Loading…
Reference in New Issue