forked from jmug/stoatchat
fix: fixes for full mongo implementation
This commit is contained in:
1 parent
7a9adb45f7
commit
4801b51cef
15 files changed
+45
-36
No files matched your search
@@ -83,7 +83,7 @@ pub async fn edit_bot(db: &Db, user: User, target: Ref, data: Json<Data>) -> Res
|
||||
|
||||
db.update_bot(&bot.id, &partial, remove.unwrap_or_else(Vec::new))
|
||||
.await?;
|
||||
|
||||
|
||||
bot.apply_options(partial);
|
||||
Ok(Json(bot))
|
||||
}
|
||||
Reference in new issue
Block a user