Skip to content

Commit 723c150

Browse files
author
David Silva
committed
remove comment and log
1 parent e1b5057 commit 723c150

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/articles/model.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* Article Model
33
* This is only a sample but I think that additional rules (like _all,_create,etc) are be better in one repository
4-
* @todo -> Refector _update and _delete methods
54
*/
65

76
pub mod article {
@@ -72,7 +71,6 @@ pub mod article {
7271
let db = Client::with_uri_str(&database_url).await?.database(MONGO_DB);
7372

7473
let doc = ArticleModel::find_one(&db, query, None).await?;
75-
println!("{:?}", doc);
7674

7775
Ok(doc)
7876
}

0 commit comments

Comments
 (0)