We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b4f984 commit 11aad71Copy full SHA for 11aad71
1 file changed
src/iop/cls/IOP/Service/Remote/Rest/v1.cls
@@ -23,9 +23,9 @@ XData UrlMap [ XMLNamespace = "http://www.intersystems.com/urlmap" ]
23
</Routes>
24
}
25
26
-ClassMethod GetVersion() As %String
+ClassMethod GetVersion() As %Status
27
{
28
- Return {"version": "1.0.0", "description": "Interoperability Embedded Python Service API"}.%ToJSON()
+ Return ..%WriteResponse({"version": "1.0.0", "description": "Interoperability Embedded Python Service API"}.%ToJSON())
29
30
31
/// Validate that a namespace exists. Throws on failure.
0 commit comments