Merge pull request 'fix-notification-content' (#334) from fix-notification-content into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m18s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 5m0s

Reviewed-on: #334
This commit is contained in:
philipp 2024-04-02 10:38:19 +02:00
commit e7a679541b
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -733,7 +733,7 @@ impl<'r> FromRequest<'r> for TechUser {
}
pub struct CoxUser {
user: User,
pub(crate) user: User,
}
impl Deref for CoxUser {