Revert "jobs: Fix a lock of call sync"
[src/app-framework-binder.git] / bindings / samples / AuthLogin.c
index dcb5e57..0f29dd0 100644 (file)
@@ -71,7 +71,7 @@ static void clientContextRefresh (afb_req_t request) {
 static void clientContextCheck (afb_req_t request) {
 
     json_object *jresp = json_object_new_object();
-    json_object_object_add(jresp, "isvalid", json_object_new_boolean (1));
+    json_object_object_add(jresp, "isvalid", json_object_new_boolean (TRUE));
 
     afb_req_success(request, jresp, NULL);
 }