diff --git a/package-lock.json b/package-lock.json index a205edbe6297192b90803e78d51ccb52546d2ed8..4e00e5ce925879c1e77b57759feab09fa6abaf14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "c-server", + "name": "c-service", "version": "1.1.1", "lockfileVersion": 1, "requires": true, diff --git a/src/service.ts b/src/service.ts index 051834956997221c6a930beae915a621ab8d2740..2bd7ec5d3171741f788f1dea7364ed24c7a32c4c 100644 --- a/src/service.ts +++ b/src/service.ts @@ -172,6 +172,10 @@ app.use( basePath: "/api", }); }, + method: { + "Query.getObjects": "POST", + "Query.getObject": "POST", + }, }) );