Skip to content

Commit

Permalink
fix: bot model test did not destruct tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish committed Jun 29, 2024
1 parent 0954d71 commit f9d9059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Now run tests for whichever database:

```sh
TEST_DB=REFERENCE cargo nextest run
TEST_DB=MONGOBD cargo nextest run
TEST_DB=MONGODB cargo nextest run
```

## License
Expand Down
2 changes: 1 addition & 1 deletion crates/core/database/src/models/bots/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ mod tests {
.await
.unwrap();

let bot = Bot::create(
let (bot, _) = Bot::create(
&db,
"Bot Name".to_string(),
&owner,
Expand Down

0 comments on commit f9d9059

Please sign in to comment.