@galadrim/galadmin 0.1.221 → 0.1.223

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.js CHANGED
@@ -929,7 +929,7 @@ exports.default = (db, config, user) => {
929
929
  try {
930
930
  const response = await axios_1.default.get(`https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/economicref-france-sirene-v3/records`, {
931
931
  params: {
932
- where: `denominationunitelegale LIKE '${processedQuery}*' OR siren LIKE '${processedQuery}*'`,
932
+ where: `denominationunitelegale LIKE '${processedQuery}*' OR siret LIKE '${processedQuery}*'`,
933
933
  limit: 100
934
934
  }
935
935
  });
@@ -945,7 +945,7 @@ exports.default = (db, config, user) => {
945
945
  zipCode: etablissement.codepostaletablissement,
946
946
  activityNumber: etablissement.activiteprincipaleunitelegale,
947
947
  }))
948
- .slice(0, 10);
948
+ .slice(0, 30);
949
949
  res.send(results);
950
950
  }
951
951
  catch (e) {