fix
This commit is contained in:
parent
de2b02bf79
commit
c6bcd9ca07
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ impl Variant {
|
|||
let db = get_mongo!();
|
||||
|
||||
let mut ses = db.start_session(None).await.unwrap();
|
||||
ses.start_transaction(None).await.unwrap();
|
||||
|
||||
let col: mongodb::Collection<mongodb::bson::Document> =
|
||||
ses.client().database("cdb").collection("supply");
|
||||
|
|
Loading…
Reference in a new issue