use proper role instead of manully validating role #1066

Merged
philipp merged 2 commits from use-proper-role into main 2025-05-29 12:12:56 +02:00
2 changed files with 18 additions and 42 deletions
Showing only changes of commit 7a2743046d - Show all commits

View File

@ -16,7 +16,7 @@ use super::{
};
use crate::model::user::VecUser;
#[derive(FromRow, Serialize, Deserialize, Clone, Debug, Difference)]
#[derive(FromRow, Serialize, Deserialize, Clone, Debug)]
pub struct Logbook {
pub id: i64,
pub boat_id: i64,