From 9c449a2cd509f28b8832caacb31b9f319654641a Mon Sep 17 00:00:00 2001 From: K0nnyaku Date: Sun, 15 Dec 2024 22:04:50 +0800 Subject: [PATCH] chore: modify the variable type of rating --- Cargo.lock | 2 +- src/models/account.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 77daefd..becf7f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -71,7 +71,7 @@ dependencies = [ [[package]] name = "algohub-server" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "chrono", diff --git a/src/models/account.rs b/src/models/account.rs index fc5fdd1..eb65445 100644 --- a/src/models/account.rs +++ b/src/models/account.rs @@ -21,7 +21,7 @@ pub struct Account { pub college: Option, pub major: Option, - pub rating: i8, + pub rating: i32, pub active: bool, pub created_at: chrono::NaiveDateTime,