Skip to content

Commit

Permalink
Merge pull request #43 from robotLJW/main
Browse files Browse the repository at this point in the history
add domain and project field to task struct in sync
  • Loading branch information
tianxiaoliang authored Nov 27, 2021
2 parents 0168841 + bb2a74a commit 302dc83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sync/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ type Task struct {
TaskID string `json:"task_id" bson:"task_id"`
Action string `json:"action" bson:"action"`
DataType string `json:"data_type" bson:"data_type"`
Domain string `json:"domain" bson:"domain"`
Project string `json:"project" bson:"project"`
Data interface{} `json:"data" bson:"data"`
Timestamp int64 `json:"timestamp" bson:"timestamp"`
Status string `json:"status" bson:"status"`
Expand Down

0 comments on commit 302dc83

Please sign in to comment.