Skip to content

Commit

Permalink
Update entity_api/src/organization.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jim Hodapp <[email protected]>
  • Loading branch information
calebbourg and jhodapp committed Dec 5, 2023
1 parent bca6856 commit d5c480b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entity_api/src/organization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub async fn update(db: &DatabaseConnection, id: Id, model: Model) -> Result<Mod
}
}

pub async fn delete_by_id(db: &DatabaseConnection, id: i32) -> Result<(), Error> {
pub async fn delete_by_id(db: &DatabaseConnection, id: Id) -> Result<(), Error> {
let result = find_by_id(db, id).await?;

match result {
Expand Down

0 comments on commit d5c480b

Please sign in to comment.