Skip to content

Commit

Permalink
fix missing max_execution parma when creating task (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
v9n authored Dec 10, 2024
1 parent e4c5ab1 commit f643028
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions model/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ func NewTaskFromProtobuf(user *User, body *avsproto.CreateTaskReq) (*Task, error
Owner: owner.Hex(),
SmartWalletAddress: aaAddress.Hex(),

Trigger: body.Trigger,
Nodes: body.Nodes,
Edges: body.Edges,
Memo: body.Memo,
ExpiredAt: body.ExpiredAt,
StartAt: body.StartAt,
Trigger: body.Trigger,
Nodes: body.Nodes,
Edges: body.Edges,
Memo: body.Memo,
ExpiredAt: body.ExpiredAt,
StartAt: body.StartAt,
MaxExecution: body.MaxExecution,

// initial state for task
Status: avsproto.TaskStatus_Active,
Expand Down

0 comments on commit f643028

Please sign in to comment.