refactor: rename to FileStatusResponse
This commit is contained in:
parent
ce1b5e31d5
commit
30ad92fb8d
|
@ -128,7 +128,7 @@ func (f *FilesController) GetStatusBy(cidString string) {
|
|||
break
|
||||
}
|
||||
|
||||
f.respondJSON(&response.StatusResponse{Status: statusCode})
|
||||
f.respondJSON(&response.FileStatusResponse{Status: statusCode})
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
package response
|
||||
|
||||
type StatusResponse struct {
|
||||
type FileStatusResponse struct {
|
||||
Status string `json:"status"`
|
||||
}
|
Loading…
Reference in New Issue