From d55f224d26dc7e559b2f460dfa61cbfe2cd9daf0 Mon Sep 17 00:00:00 2001 From: jrivals Date: Tue, 17 Dec 2024 17:26:40 +0100 Subject: [PATCH] Fix dummy emails --- database/seeds/dummy/001-users.ts | 12 ++++++------ database/seeds/dummy/003-programming-plans.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/database/seeds/dummy/001-users.ts b/database/seeds/dummy/001-users.ts index 516b783d..78d558d5 100644 --- a/database/seeds/dummy/001-users.ts +++ b/database/seeds/dummy/001-users.ts @@ -11,7 +11,7 @@ exports.seed = async function (knex: Knex) { await Users().insert([ { id: uuidv4(), - email: 'admin@maestro.beta.gouv.fr.fr', + email: 'admin@maestro.beta.gouv.fr', password: bcrypt.hashSync('Test2024'), firstName: fakerFR.person.firstName(), lastName: fakerFR.person.lastName(), @@ -19,7 +19,7 @@ exports.seed = async function (knex: Knex) { }, { id: uuidv4(), - email: 'coordinateur.national@maestro.beta.gouv.fr.fr', + email: 'coordinateur.national@maestro.beta.gouv.fr', password: bcrypt.hashSync('Test2024'), firstName: fakerFR.person.firstName(), lastName: fakerFR.person.lastName(), @@ -27,7 +27,7 @@ exports.seed = async function (knex: Knex) { }, { id: uuidv4(), - email: 'coordinateur.regional@maestro.beta.gouv.fr.fr', + email: 'coordinateur.regional@maestro.beta.gouv.fr', password: bcrypt.hashSync('Test2024'), firstName: fakerFR.person.firstName(), lastName: fakerFR.person.lastName(), @@ -36,7 +36,7 @@ exports.seed = async function (knex: Knex) { }, { id: uuidv4(), - email: 'coordinateur.regional.drom@maestro.beta.gouv.fr.fr', + email: 'coordinateur.regional.drom@maestro.beta.gouv.fr', password: bcrypt.hashSync('Test2024'), firstName: fakerFR.person.firstName(), lastName: fakerFR.person.lastName(), @@ -45,7 +45,7 @@ exports.seed = async function (knex: Knex) { }, { id: uuidv4(), - email: 'preleveur@maestro.beta.gouv.fr.fr', + email: 'preleveur@maestro.beta.gouv.fr', password: bcrypt.hashSync('Test2024'), firstName: fakerFR.person.firstName(), lastName: fakerFR.person.lastName(), @@ -54,7 +54,7 @@ exports.seed = async function (knex: Knex) { }, { id: uuidv4(), - email: 'preleveur.drom@maestro.beta.gouv.fr.fr', + email: 'preleveur.drom@maestro.beta.gouv.fr', password: bcrypt.hashSync('Test2024'), firstName: fakerFR.person.firstName(), lastName: fakerFR.person.lastName(), diff --git a/database/seeds/dummy/003-programming-plans.ts b/database/seeds/dummy/003-programming-plans.ts index da9412ff..9f05911f 100644 --- a/database/seeds/dummy/003-programming-plans.ts +++ b/database/seeds/dummy/003-programming-plans.ts @@ -11,7 +11,7 @@ exports.seed = async function (knex: Knex) { setKnexInstance(knex); const user = await Users() - .where('email', 'coordinateur.national@maestro.beta.gouv.fr.fr') + .where('email', 'coordinateur.national@maestro.beta.gouv.fr') .first(); if (!user) {