Fix typo in error string. (#367)

This commit is contained in:
Simon Arnell 2024-03-14 14:53:38 +00:00 committed by GitHub
parent 0cd5dd8d31
commit b118ab56be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ pub fn auth_interceptor(mut req: Request<()>) -> Result<Request<()>, Status> {
Some(v) => v, Some(v) => v,
None => { None => {
return Err(Status::unauthenticated( return Err(Status::unauthenticated(
"authorization metadata must in format 'Bearer <TOKEN>", "authorization metadata must be in format 'Bearer <TOKEN>",
)); ));
} }
}; };