mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-21 17:46:37 +00:00
Fix JSON unmarshall error
This commit is contained in:
@@ -70,7 +70,7 @@ func Person(ctx *context.APIContext) {
|
||||
}
|
||||
|
||||
var jsonmap map[string]interface{}
|
||||
err = json.Unmarshal(binary, jsonmap)
|
||||
err = json.Unmarshal(binary, &jsonmap)
|
||||
if err != nil {
|
||||
ctx.Error(http.StatusInternalServerError, "Unmarshall", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user