fix: unpin needs to return 200, not 201
This commit is contained in:
parent
86669d9f08
commit
d5575fbf4f
|
@ -943,7 +943,7 @@ func (s *S5API) accountPinDelete(jc jape.Context) {
|
||||||
return
|
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) {
|
func (s *S5API) getManifestCids(ctx context.Context, cid *encoding.CID, addSelf bool) ([]*encoding.CID, error) {
|
||||||
|
|
|
@ -709,7 +709,7 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'204':
|
'200':
|
||||||
description: File deleted
|
description: File deleted
|
||||||
|
|
||||||
# Debug API
|
# Debug API
|
||||||
|
|
Loading…
Reference in New Issue