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
exportdefaultasyncfunction(req,res){// connecting to any service type named by the 'serviceinstancename' query stringconstserviceinstancename=pathOr('default',['query','serviceinstancename'],req)consthyper=connect(process.env.HYPER,serviceinstancename)console.log('search: get: ',req.params.id)constresult=awaithyper.search.get(req.params.id).catch(err=>{console.log({err})})console.log('search: get result',result)returnres.send(result)}
The text was updated successfully, but these errors were encountered:
Attempting to GET a document from the search service that has been previously deleted throws an exception with a status of 500 instead of 404.
search: get: movie-1
{ err: { ok: false, status: 500 } }
The text was updated successfully, but these errors were encountered: