show ottensheim boats to rennjugend
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m34s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
2024-03-03 18:08:15 +01:00
parent cc7ba59407
commit d1296ec40a
4 changed files with 23 additions and 4 deletions

View File

@ -274,8 +274,6 @@ ORDER BY departure DESC
}
if let Ok(log_to_finalize) = TryInto::<LogToFinalize>::try_into(log.clone()) {
//TODO: fix clone() above
if !boat.shipmaster_allowed(db, created_by_user).await {
return Err(LogbookCreateError::UserNotAllowedToUseBoat);
}