We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 721ecac commit ae1dd35Copy full SHA for ae1dd35
1 file changed
src/media.rs
@@ -122,7 +122,7 @@ async fn download_file(path: web::Path<GroupRepoMediaPath>) -> AppResult<impl Re
122
}
123
124
#[delete("/{file_name}")]
125
-async fn delete_file(path: web::Path<GroupRepoMediaPath>) -> AppResult<HttpResponse> {
+async fn delete_file(path: web::Path<GroupRepoMediaPath>) -> AppResult<impl Responder> {
126
let path_params = path.into_inner();
127
let group_id = &path_params.group_id;
128
let repo_id = &path_params.repo_id;
0 commit comments