Skip to content

Commit eda05bf

Browse files
committed
cleaning up docs and TODOs
1 parent 344a252 commit eda05bf

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/cli.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ pub async fn import_zones(
173173
sleep(std::time::Duration::from_micros(500)).await;
174174
}
175175
Ok(())
176-
// rx_oneshot.await.map_err(|e| format!("Failed to receive result: {e:?}"))
177176
}
178177

179178
/// Presents the CLI UI to add an admin user.

src/db/entities/ownership.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,6 @@ impl ActiveModelBehavior for ActiveModel {
5959
}
6060

6161
impl Entity {
62-
// pub(crate) async fn find_by_user<C>(db: &C, user_id: Uuid) -> Result<Vec<Model>, DbErr>
63-
// where
64-
// C: ConnectionTrait,
65-
// {
66-
// Self::find()
67-
// .filter(Column::Userid.eq(user_id))
68-
// .all(db)
69-
// .await
70-
// }
71-
7262
pub(crate) async fn find_by_user_and_zone<C>(
7363
db: &C,
7464
user_id: Uuid,

0 commit comments

Comments
 (0)