mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 15:29:02 +00:00
Reset failed tasks
This commit is contained in:
@@ -15,7 +15,7 @@ const (
|
||||
type JsonResponse struct {
|
||||
Ok bool `json:"ok"`
|
||||
Message string `json:"message,omitempty"`
|
||||
RateLimitDelay string `json:"rate_limit_delay,omitempty"`
|
||||
RateLimitDelay float64 `json:"rate_limit_delay,omitempty"`
|
||||
Content interface{} `json:"content,omitempty"`
|
||||
}
|
||||
|
||||
@@ -305,6 +305,11 @@ type GetSecretResponse struct {
|
||||
type SetWebhookSecretRequest struct {
|
||||
WebhookSecret string `json:"webhook_secret"`
|
||||
}
|
||||
|
||||
type GetWebhookSecretResponse struct {
|
||||
WebhookSecret string `json:"webhook_secret"`
|
||||
}
|
||||
|
||||
type ResetFailedTaskResponse struct {
|
||||
AffectedTasks int64 `json:"affected_tasks"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user