Use boolean instead.

This commit is contained in:
Paul Makles
2020-06-27 09:18:23 +01:00
parent b687190105
commit ef76ed25fa

View File

@@ -92,7 +92,7 @@ pub fn dms(user: UserRef) -> Response {
"$or": [ "$or": [
{ {
"type": channel::ChannelType::DM as i32, "type": channel::ChannelType::DM as i32,
"active": 1 "active": true
}, },
{ {
"type": channel::ChannelType::GROUPDM as i32 "type": channel::ChannelType::GROUPDM as i32