Skip to content

Commit

Permalink
fix: missing conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish committed Aug 1, 2023
1 parent f5a113d commit bd9ecc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crates/core/database/src/models/server_bans/ops/mongodb.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use futures::StreamExt;
use revolt_result::Result;

use crate::MongoDb;
Expand Down
2 changes: 1 addition & 1 deletion crates/core/database/src/util/bridge/v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ impl From<crate::Metadata> for Metadata {
impl From<crate::ServerBan> for ServerBan {
fn from(value: crate::ServerBan) -> Self {
ServerBan {
id: value.id,
id: value.id.into(),
reason: value.reason,
}
}
Expand Down

0 comments on commit bd9ecc1

Please sign in to comment.