fix: fixes for full mongo implementation
This commit is contained in:
@@ -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