diff --git a/controller/files.go b/controller/files.go index 95c4972..4a9098f 100644 --- a/controller/files.go +++ b/controller/files.go @@ -128,7 +128,7 @@ func (f *FilesController) GetStatusBy(cidString string) { break } - f.respondJSON(&response.StatusResponse{Status: statusCode}) + f.respondJSON(&response.FileStatusResponse{Status: statusCode}) } diff --git a/controller/response/status.go b/controller/response/file_status.go similarity index 60% rename from controller/response/status.go rename to controller/response/file_status.go index 674f260..472fc57 100644 --- a/controller/response/status.go +++ b/controller/response/file_status.go @@ -1,5 +1,5 @@ package response -type StatusResponse struct { +type FileStatusResponse struct { Status string `json:"status"` }