mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 07:19:02 +00:00
Add project secret & bug fix
This commit is contained in:
@@ -214,6 +214,10 @@ type ReleaseTaskRequest struct {
|
||||
Verification int64 `json:"verification"`
|
||||
}
|
||||
|
||||
func (r *ReleaseTaskRequest) IsValid() bool {
|
||||
return r.TaskId != 0
|
||||
}
|
||||
|
||||
type ReleaseTaskResponse struct {
|
||||
Updated bool `json:"updated"`
|
||||
}
|
||||
@@ -276,3 +280,11 @@ type Info struct {
|
||||
Name string `json:"name"`
|
||||
Version string `json:"version"`
|
||||
}
|
||||
|
||||
type SetSecretRequest struct {
|
||||
Secret string `json:"secret"`
|
||||
}
|
||||
|
||||
type GetSecretResponse struct {
|
||||
Secret string `json:"secret"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user