no need to wrap each method description in an object container with class 'method'
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 18 May 2009 13:50:13 +0000 (13:50 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 18 May 2009 13:50:13 +0000 (13:50 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1702 9efc2488-bf62-4759-914b-345cdb29e865

src/libopensrf/osrf_application.c

index d8d1a18..b4dde46 100644 (file)
@@ -404,8 +404,6 @@ static void _osrfAppSetIntrospectMethod( osrfMethodContext* ctx, const osrfMetho
                        jsonNewNumberObject( (method->options & OSRF_METHOD_ATOMIC) ? 1 : 0 ));
        jsonObjectSetKey(resp, "cachable",      
                        jsonNewNumberObject( (method->options & OSRF_METHOD_CACHABLE) ? 1 : 0 ));
                        jsonNewNumberObject( (method->options & OSRF_METHOD_ATOMIC) ? 1 : 0 ));
        jsonObjectSetKey(resp, "cachable",      
                        jsonNewNumberObject( (method->options & OSRF_METHOD_CACHABLE) ? 1 : 0 ));
-
-       jsonObjectSetClass(resp, "method");
 }
 
 /**
 }
 
 /**