From 1c43d83bd4e604b971d4c38eb37365820d3d922a Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 2 Apr 2024 10:34:50 +0200 Subject: [PATCH 1/2] use proper name :-) --- src/model/trip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/trip.rs b/src/model/trip.rs index b4c5437..0cdfaad 100644 --- a/src/model/trip.rs +++ b/src/model/trip.rs @@ -62,7 +62,7 @@ impl Trip { &user, &format!( "{} hat eine Ausfahrt zur selben Zeit ({} um {}) wie du erstellt", - user.name, trip.day, trip.planned_starting_time + cox.user.name, trip.day, trip.planned_starting_time ), "Neue Ausfahrt zur selben Zeit".into(), None, -- 2.45.2 From c1d46a6e6b4c7f314127c046e6e33ed12df58e33 Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 2 Apr 2024 10:37:15 +0200 Subject: [PATCH 2/2] fix ci --- src/model/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/user.rs b/src/model/user.rs index b6fef48..ca2cac3 100644 --- a/src/model/user.rs +++ b/src/model/user.rs @@ -733,7 +733,7 @@ impl<'r> FromRequest<'r> for TechUser { } pub struct CoxUser { - user: User, + pub(crate) user: User, } impl Deref for CoxUser { -- 2.45.2