mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-23 19:35:52 +03:00
Fix JSON unmarshall error
This commit is contained in:
parent
2f0a0b1216
commit
46cab80ef4
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func Person(ctx *context.APIContext) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var jsonmap map[string]interface{}
|
var jsonmap map[string]interface{}
|
||||||
err = json.Unmarshal(binary, jsonmap)
|
err = json.Unmarshal(binary, &jsonmap)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.Error(http.StatusInternalServerError, "Unmarshall", err)
|
ctx.Error(http.StatusInternalServerError, "Unmarshall", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue