Don't give rate limit delay when project is not found

This commit is contained in:
simon987
2019-03-10 09:54:04 -04:00
parent 15a3e66b70
commit d62c70e1be
4 changed files with 40 additions and 5 deletions

View File

@@ -168,9 +168,10 @@ type ProjectListAR struct {
}
type TaskAR struct {
Ok bool `json:"ok"`
Message string `json:"message"`
Content struct {
Ok bool `json:"ok"`
Message string `json:"message"`
RateLimitDelay float64 `json:"rate_limit_delay,omitempty"`
Content struct {
Task *storage.Task `json:"task"`
} `json:"content"`
}