From af10399797c8761e6ac625100e44596d85cb8b78 Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Tue, 17 Dec 2024 08:56:48 +0100 Subject: [PATCH] add renntrainer role --- 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 f03b0b4..97fc4bc 100644 --- a/src/model/user.rs +++ b/src/model/user.rs @@ -384,7 +384,7 @@ ASKÖ Ruderverein Donau Linz", self.name), if self.has_role(db, "Rennrudern").await { if self.has_role(db, "half-rennrudern").await { fee.add("Rennruderbeitrag (1/2 Preis) ".into(), RENNRUDERBEITRAG / 2); - } else { + } else if !self.has_role(db, "renntrainer").await { fee.add("Rennruderbeitrag".into(), RENNRUDERBEITRAG); } }