Formatting
This commit is contained in:
+1
-4
@@ -48,10 +48,7 @@ where
|
||||
.and_then(|v| v.to_str().ok())
|
||||
.ok_or(AppError::Unauthorized)?;
|
||||
|
||||
let slug = config
|
||||
.api_keys
|
||||
.get(api_key)
|
||||
.ok_or(AppError::Unauthorized)?;
|
||||
let slug = config.api_keys.get(api_key).ok_or(AppError::Unauthorized)?;
|
||||
|
||||
let user = config
|
||||
.users
|
||||
|
||||
Reference in New Issue
Block a user