From 46cab80ef4812cde254d36825eff0b39ed8dac77 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Fri, 10 Jun 2022 10:37:55 -0500 Subject: [PATCH] Fix JSON unmarshall error --- routers/api/v1/activitypub/person.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v1/activitypub/person.go b/routers/api/v1/activitypub/person.go index 4a29bca29f..4bd77c0b47 100644 --- a/routers/api/v1/activitypub/person.go +++ b/routers/api/v1/activitypub/person.go @@ -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) }