try to fix search

This commit is contained in:
Frédéric FRANCE 2021-06-06 10:07:01 +02:00
parent 678f24f2b3
commit 3c51eac66f
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1

View File

@ -34,6 +34,7 @@ module.exports = {
}; };
const response = await z.request({ const response = await z.request({
url: url, url: url,
// this parameter avoid throwing errors and let us manage them
skipThrowForStatus: true, skipThrowForStatus: true,
params: { params: {
sqlfilters: "t.nom like \'%"+bundle.inputData.name+"%\'" sqlfilters: "t.nom like \'%"+bundle.inputData.name+"%\'"