You've already forked AstralRinth
forked from didirus/AstralRinth
Change header name (#67)
This commit is contained in:
@@ -78,7 +78,7 @@ where
|
|||||||
E: sqlx::Executor<'a, Database = sqlx::Postgres>,
|
E: sqlx::Executor<'a, Database = sqlx::Postgres>,
|
||||||
{
|
{
|
||||||
let token = headers
|
let token = headers
|
||||||
.get("Authentication")
|
.get("Authorization")
|
||||||
.ok_or(AuthenticationError::InvalidCredentialsError)?
|
.ok_or(AuthenticationError::InvalidCredentialsError)?
|
||||||
.to_str()
|
.to_str()
|
||||||
.map_err(|_| AuthenticationError::InvalidCredentialsError)?;
|
.map_err(|_| AuthenticationError::InvalidCredentialsError)?;
|
||||||
|
|||||||
Reference in New Issue
Block a user