feat: include user in responses when creating and editing bots

This commit is contained in:
Paul Makles
2024-06-26 19:49:26 +01:00
parent ce20e689cc
commit d6bcb844db
9 changed files with 38 additions and 17 deletions

View File

@@ -41,7 +41,7 @@ mod test {
let harness = TestHarness::new().await;
let (_, session, user) = harness.new_user().await;
let bot = Bot::create(&harness.db, TestHarness::rand_string(), &user, None)
let (bot, _) = Bot::create(&harness.db, TestHarness::rand_string(), &user, None)
.await
.expect("`Bot`");