mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
fix: missing conversion
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
use futures::StreamExt;
|
||||
use revolt_result::Result;
|
||||
|
||||
use crate::MongoDb;
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user