From 8dd283d773b12ca09a1904a825b94b12a99073ca Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sat, 10 Feb 2024 20:00:28 +0000 Subject: [PATCH] Rename AuthenticationError::Backend to Database --- src/auth.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auth.rs b/src/auth.rs index 2f8d389..870e19a 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -29,8 +29,8 @@ pub enum AuthenticationError { InvalidToken, #[error("Invalid server hash")] InvalidServerHash, - #[error("Authentication backend error")] - Backend(#[from] sqlx::Error), + #[error("Database error")] + Database(#[from] sqlx::Error), } #[derive(Debug)]