We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90ad44c commit cc1fee7Copy full SHA for cc1fee7
1 file changed
MDX2JSON/REST.cls.xml
@@ -276,7 +276,12 @@ Wrapper for ##class(MDX2JSON.Users).GetConfig()</Description>
276
Wrapper for ##class(MDX2JSON.Users).SetConfig()</Description>
277
<ClassMethod>1</ClassMethod>
278
<ReturnType>%Status</ReturnType>
279
-<Implementation><![CDATA[ return ##class(MDX2JSON.Users).SetConfig($$$R("Application"),$$$R("Config"))
+<Implementation><![CDATA[
280
+ set config = $$$R("Config")
281
+ if (($IsObject(config)) && (config.%IsA("%ZEN.proxyObject"))) {
282
+ set config = config.%ToJSON()
283
+ }
284
+ return ##class(MDX2JSON.Users).SetConfig($$$R("Application"),config)
285
]]></Implementation>
286
</Method>
287
0 commit comments