Compare commits
No commits in common. "5b2a86275fed37e7be1b7b811e19974af0c1033b" and "0a85711eadbf7ac73a522759618743dffbe17dd5" have entirely different histories.
5b2a86275f
...
0a85711ead
|
@ -1166,10 +1166,7 @@ func (s *S5API) accountPinStatus(jc jape.Context) {
|
|||
meta, err := s._import.GetImport(jc.Request.Context(), decodedCid.Hash.HashBytes())
|
||||
|
||||
if err != nil {
|
||||
jc.Encode(&AccountPinStatusResponse{
|
||||
Status: models.ImportStatusCompleted,
|
||||
Progress: 100,
|
||||
})
|
||||
s.sendErrorResponse(jc, NewS5Error(ErrKeyResourceNotFound, err))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ type ImportStatus string
|
|||
const (
|
||||
ImportStatusQueued ImportStatus = "queued"
|
||||
ImportStatusProcessing ImportStatus = "processing"
|
||||
ImportStatusCompleted ImportStatus = "completed"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
Loading…
Reference in New Issue