From 088e7d68d7404984aa5cad395fa7ea6106e6105f Mon Sep 17 00:00:00 2001 From: Xeronith Date: Mon, 15 Aug 2022 22:04:03 +0430 Subject: [PATCH] fix(server): :adhesive_bandage: activity stream request --- greataped/server/http_context.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/greataped/server/http_context.go b/greataped/server/http_context.go index 10b6041..c637648 100644 --- a/greataped/server/http_context.go +++ b/greataped/server/http_context.go @@ -173,7 +173,8 @@ func (context *httpServerContext) requestActivityStream(method, url, keyId, priv defer res.Body.Close() } - if res.StatusCode != http.StatusOK { + if res.StatusCode != http.StatusOK && + res.StatusCode != http.StatusAccepted { return fmt.Errorf("%s", res.Status) }