fix: missing conversion

This commit is contained in:
Paul Makles
2023-08-02 00:31:19 +01:00
parent f5a113da47
commit bd9ecc1519
2 changed files with 1 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
use futures::StreamExt;
use revolt_result::Result;
use crate::MongoDb;

View File

@@ -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,
}
}