gateway now assumes status is OK on a message unless it recieves a message which...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Dec 2005 22:20:28 +0000 (22:20 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Dec 2005 22:20:28 +0000 (22:20 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2359 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/src/gateway/mod_ils_gateway.c

index 1d030e8..fe4990b 100644 (file)
@@ -59,7 +59,7 @@ static int mod_ils_gateway_method_handler (request_rec *r) {
        char* key                                               = NULL; /* query item name */
        char* val                                               = NULL; /* query item value */
 
-       jsonObject* response                    = jsonParseString("{ }");
+       jsonObject* response                    = jsonParseString("{\"status\":200}");
        jsonObject* payload                     = jsonParseString("[ ]");
        jsonObjectSetKey(response, "payload", payload );