forked from Ruderverein-Donau-Linz/rowt
fix boat update error
This commit is contained in:
@ -60,7 +60,7 @@ pub struct BoatToUpdate<'r> {
|
||||
pub skull: bool,
|
||||
pub external: bool,
|
||||
pub location_id: i64,
|
||||
pub owner_id: Option<i64>,
|
||||
pub owner: Option<i64>,
|
||||
}
|
||||
|
||||
impl Boat {
|
||||
@ -229,7 +229,7 @@ ORDER BY amount_seats DESC
|
||||
boat.skull,
|
||||
boat.external,
|
||||
boat.location_id,
|
||||
boat.owner_id,
|
||||
boat.owner,
|
||||
self.id
|
||||
)
|
||||
.execute(db)
|
||||
|
Reference in New Issue
Block a user