Skip to content

Commit ae1dd35

Browse files
match route signatures
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 721ecac commit ae1dd35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/media.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ async fn download_file(path: web::Path<GroupRepoMediaPath>) -> AppResult<impl Re
122122
}
123123

124124
#[delete("/{file_name}")]
125-
async fn delete_file(path: web::Path<GroupRepoMediaPath>) -> AppResult<HttpResponse> {
125+
async fn delete_file(path: web::Path<GroupRepoMediaPath>) -> AppResult<impl Responder> {
126126
let path_params = path.into_inner();
127127
let group_id = &path_params.group_id;
128128
let repo_id = &path_params.repo_id;

0 commit comments

Comments
 (0)