feat: Changes task errors to string array
This commit is contained in:
@@ -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