diff --git a/src/data-inclusion/cli/action/data-inclusion.action.ts b/src/data-inclusion/cli/action/data-inclusion.action.ts index bf2ef249..dc08b85b 100644 --- a/src/data-inclusion/cli/action/data-inclusion.action.ts +++ b/src/data-inclusion/cli/action/data-inclusion.action.ts @@ -40,12 +40,12 @@ const fetchFromDataInclusionApi = async ({ key, url }: Api): Promise => export const dataInclusionAction = async (dataInclusionOptions: DataInclusionOptions): Promise => { const responseStructures: SchemaStructureDataInclusion[] = await fetchFromDataInclusionApi({ key: dataInclusionOptions.dataInclusionApiKey, - url: 'https://api.data.inclusion.beta.gouv.fr/api/v0/structures?source=dora' + url: 'https://api.data.inclusion.beta.gouv.fr/api/v0/structures?sources=dora' }); const responseServices: SchemaServiceDataInclusion[] = await fetchFromDataInclusionApi({ key: dataInclusionOptions.dataInclusionApiKey, - url: 'https://api.data.inclusion.beta.gouv.fr/api/v0/services?source=dora' + url: 'https://api.data.inclusion.beta.gouv.fr/api/v0/services?sources=dora' }); fs.writeFileSync( diff --git a/src/transformer/cli/action/transformer.action.ts b/src/transformer/cli/action/transformer.action.ts index f4766254..e99c335a 100644 --- a/src/transformer/cli/action/transformer.action.ts +++ b/src/transformer/cli/action/transformer.action.ts @@ -50,9 +50,6 @@ export const transformerAction = async (transformerOptions: TransformerOptions): const sourceHash: string = createHash('sha256').update(source).digest('hex'); if (previousSourceHash === sourceHash) { - console.log('sourceName', transformerOptions.sourceName); - console.log('previousSourceHash', previousSourceHash); - console.log('sourceHash', sourceHash); console.log("2. Il n'y a pas de différence par rapport à la transformation précédente"); return; }