fix(server): 🩹 activity stream request

master
Xeronith 2022-08-15 22:04:03 +04:30
rodzic f5b4ebe171
commit 088e7d68d7
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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)
}