review changes

This commit is contained in:
marin postma
2021-06-21 13:57:32 +02:00
parent 763ee521be
commit 56686dee40
10 changed files with 24 additions and 23 deletions

View File

@ -14,9 +14,9 @@ use crate::index_controller::error::IndexControllerError;
#[derive(Debug, thiserror::Error)]
pub enum AuthenticationError {
#[error("You must have an authorization token")]
#[error("you must have an authorization token")]
MissingAuthorizationHeader,
#[error("Invalid API key")]
#[error("invalid API key")]
InvalidToken(String),
}