From f5928b90748b0bb4c0c498ccc77ebde4eaec8841 Mon Sep 17 00:00:00 2001 From: fx Date: Sat, 21 Oct 2023 20:46:31 +0200 Subject: add init function for db tables --- src/auth.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/auth.rs') diff --git a/src/auth.rs b/src/auth.rs index 81e798f..0fffa60 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -25,6 +25,7 @@ pub fn auth(secret: Option<&HeaderValue>) -> Result { } } +#[derive(Debug)] pub enum AuthError { WrongSecret, MissingSecret, @@ -42,4 +43,4 @@ impl AuthError { }, } } -} \ No newline at end of file +} -- cgit v1.2.3