mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 07:19:02 +00:00
worker id required for logging endpoint
This commit is contained in:
@@ -37,11 +37,3 @@ func (r *Request) Json(object interface{}, code int) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (r *Request) GetJson(x interface{}) bool {
|
||||
|
||||
err := json.Unmarshal(r.Ctx.Request.Body(), x)
|
||||
handleErr(err, r)
|
||||
|
||||
return err == nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user