mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
typo
This commit is contained in:
parent
fcc270f121
commit
751a4f9bc9
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ pub async fn ignore_invalid_routes<B>(request: Request<B>, next: Next<B>) -> Res
|
|||
// but "unknown" isn't really a valid user-agent
|
||||
else if user_agent == "unknown" {
|
||||
// please set a valid user-agent
|
||||
return StatusCode::FORBIDDEN.into_response();
|
||||
return StatusCode::BAD_REQUEST.into_response();
|
||||
} else {
|
||||
next.run(request).await
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue