You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2019. It is now read-only.
let
derivedRequest = new context.constructors.Request(request, {
index: 'index',
collection: 'collection',
controller: 'read',
action: 'get',
_id: 'documentID'
});
context.accessors.execute(derivedRequest, (error, request) => {
/*
Kuzzle's response can be obtained with request.response
See Request constructor documentation for more information
*/
});
Current Behavior
Example in execute with callback
let
derivedRequest = new context.constructors.Request(request, {
index: 'index',
collection: 'collection',
controller: 'read',
action: 'get',
_id: 'documentID'
});
context.accessors.execute(request, (error, request) => {
/*
Kuzzle's response can be obtained with request.response
See Request constructor documentation for more information
*/
});
The text was updated successfully, but these errors were encountered:
Expected Behavior
Current Behavior
Example in execute with callback
The text was updated successfully, but these errors were encountered: