some fix
This commit is contained in:
parent
61b976259a
commit
d6387c3528
9 changed files with 69 additions and 81 deletions
|
@ -33,11 +33,6 @@ func Get(c *gin.Context) {
|
|||
c.String(http.StatusBadRequest, "Account not found")
|
||||
}
|
||||
|
||||
// bytes, err := json.Marshal(actor)
|
||||
// if err != nil {
|
||||
// http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
// return
|
||||
// }
|
||||
c.JSON(http.StatusOK, actor)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue