Details
-
Bug
-
Resolution: Fixed
-
Minor
-
7.1.0
-
None
-
Untriaged
-
1
-
Unknown
Description
Create a new function
$ curl -s -k -X POST http://localhost:8093/evaluator/v1/libraries/n1ql -u Administrator:password -H 'content-type: application/json' -d 'function execute_prepare() { var query = execute lyon_airport using ["lyon"]; var acc = []; for (const row of query) {return row; } return 1;}'
|
{status: "OK"}
|
is an invalid JSON, we should be returning
{"status": "OK"}Attachments
For Gerrit Dashboard: MB-49642 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
166042,3 | MB-49642 : Return value of createLibrary should be a valid json | unstable | eventing-ee | Status: MERGED | +2 | +1 |