From c77a7a1453b7241042d1c16180fbfcd8ce10f713 Mon Sep 17 00:00:00 2001 From: phoenix Date: Sun, 6 Apr 2025 20:53:03 -0400 Subject: [PATCH] Change type of field assignment --- src/callers/login.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callers/login.rs b/src/callers/login.rs index 152c837..66286ee 100644 --- a/src/callers/login.rs +++ b/src/callers/login.rs @@ -82,7 +82,7 @@ pub mod endpoint { username: user.username, token: token_literal, token_type: String::from(token_stuff::TOKENTYPE), - expiration: duration as i32, + expiration: duration, }], }), )