feat: Changes task errors to string array

This commit is contained in:
mrhid6
2025-12-29 11:04:28 +00:00
parent 5c7b43a08e
commit 387c642402
2 changed files with 10 additions and 7 deletions

View File

@@ -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"`
}