Skip to content

Commit

Permalink
fix(): formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Christiantyemele committed Jan 20, 2025
1 parent 84ca93c commit 261c0a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by Cargo
# will have compiled files and executables
.debug
.debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
Expand Down
1 change: 0 additions & 1 deletion crates/database/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ pub fn get_or_init_database() -> Arc<RwLock<Database>> {
// Create a handle to a database.
let db = tokio::task::block_in_place(|| {
tokio::runtime::Handle::current().block_on(async move {

let client_options = ClientOptions::parse(mongo_uri)
.await
.expect("Failed to parse Mongo URI");
Expand Down

0 comments on commit 261c0a8

Please sign in to comment.