Explorar o código

ircd: changed string to bool

lunar-mining %!s(int64=4) %!d(string=hai) anos
pai
achega
c777aff646
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      bin/ircd/src/main.rs

+ 3 - 3
bin/ircd/src/main.rs

@@ -228,19 +228,19 @@ impl JsonRpcInterface {
                 "id": "dfk34123kl213kp213sd",
                 "connections": 1,
                 "message": "gm",
-                "is_active": "true",
+                "is_active": true,
             },
             {
                 "id": "138032139034903499s8",
                 "connections": 3,
                 "message": "ok",
-                "is_active": "false",
+                "is_active": false,
             },
             {
                 "id": "123423ml1k2j3ll123kl",
                 "connections": 6,
                 "message": "lol",
-                "is_active": "true",
+                "is_active": true,
             }]
         });
         JsonResult::Resp(jsonresp(resp, id))