1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 21:39:21 +00:00

Fix mistake

This commit is contained in:
Pierre HUBERT 2020-06-22 14:33:14 +02:00
parent b9a8dce1a5
commit 4815de8925

View File

@ -145,7 +145,7 @@ impl QueryInfo {
pub fn cond_legacy_bool(mut self, key: &str, val: bool) -> QueryInfo {
let val = match val {
true => "1".to_string(),
false => "2".to_string()
false => "0".to_string()
};
self.conditions.insert(key.to_string(), val);