gateway now assumes status is OK on a message unless it recieves a message which...
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 13 Dec 2005 22:20:28 +0000 (22:20 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 13 Dec 2005 22:20:28 +0000 (22:20 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@612 9efc2488-bf62-4759-914b-345cdb29e865

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 );