feat: Changes task errors to string array
This commit is contained in:
1 parent
5c7b43a08e
commit
387c642402
2 files changed
+10
-7
No files matched your search
+1
-1
@@ -20,5 +20,5 @@ type Task struct {
|
||||
MaxAttempts int `bson:"maxAttempts,omitempty" json:"maxAttempts"`
|
||||
CreatedAt time.Time `bson:"createdAt,omitempty" json:"createdAt"`
|
||||
UpdatedAt time.Time `bson:"updatedAt,omitempty" json:"updatedAt"`
|
||||
Error string `bson:"error,omitempty" json:"error,omitempty"`
|
||||
Errors []string `bson:"errors,omitempty" json:"errors,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user