This commit is contained in:
Mohsen Alizadeh 2021-05-24 11:15:15 +02:00
parent 769fd8308b
commit 2720bafa88
1 changed files with 1 additions and 3 deletions

View File

@ -329,9 +329,7 @@ mod tests {
Ok::<_, Error>(HttpResponse::BadRequest())
})))
.service(web::resource("/").route(web::to(|| async {
Ok::<_, Error>(
HttpResponse::Found().finish(),
)
Ok::<_, Error>(HttpResponse::Found().finish())
})))
});