mirror of
https://github.com/simon987/task_tracker.git
synced 2025-04-20 02:26:46 +00:00
worker cache bugfix
This commit is contained in:
parent
3bad57523a
commit
016676e0f3
@ -72,12 +72,14 @@ func (api *WebAPI) GetWorker(r *Request) {
|
||||
|
||||
if worker != nil {
|
||||
|
||||
worker.Secret = nil
|
||||
|
||||
r.OkJson(JsonResponse{
|
||||
Ok: true,
|
||||
Content: GetWorkerResponse{
|
||||
Worker: worker,
|
||||
Worker: &storage.Worker{
|
||||
Alias: worker.Alias,
|
||||
Id: worker.Id,
|
||||
Created: worker.Created,
|
||||
},
|
||||
},
|
||||
})
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user