review changes

This commit is contained in:
marin postma 2021-06-21 13:57:32 +02:00
parent 763ee521be
commit 56686dee40
No known key found for this signature in database
GPG key ID: 6088B7721C3E39F9
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),
}