diff --git a/api/s5/s5.go b/api/s5/s5.go index 5cf9bbf..703c16e 100644 --- a/api/s5/s5.go +++ b/api/s5/s5.go @@ -943,7 +943,7 @@ func (s *S5API) accountPinDelete(jc jape.Context) { return } - jc.ResponseWriter.WriteHeader(http.StatusNoContent) + jc.ResponseWriter.WriteHeader(http.StatusOK) } func (s *S5API) getManifestCids(ctx context.Context, cid *encoding.CID, addSelf bool) ([]*encoding.CID, error) { diff --git a/api/s5/swagger.yaml b/api/s5/swagger.yaml index 7a948fe..fa38941 100644 --- a/api/s5/swagger.yaml +++ b/api/s5/swagger.yaml @@ -709,7 +709,7 @@ paths: schema: type: string responses: - '204': + '200': description: File deleted # Debug API