refactor: fix not_found status code
This commit is contained in:
parent
b104af5e4c
commit
385a51e504
|
@ -130,7 +130,7 @@ func (f *FilesController) GetStatusBy(cidString string) {
|
||||||
statusCode = "uploading"
|
statusCode = "uploading"
|
||||||
break
|
break
|
||||||
case files.STATUS_NOT_FOUND:
|
case files.STATUS_NOT_FOUND:
|
||||||
statusCode = "uploading"
|
statusCode = "not_found"
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue