kopia lustrzana https://github.com/reiver/greatape
fix(server): 🩹 activity stream request
rodzic
f5b4ebe171
commit
088e7d68d7
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue