chore: allow custom seed user creds

This commit is contained in:
Ali BARIN
2024-03-07 08:41:30 +00:00
parent 3d6847a3a2
commit 7dee26c16d
2 changed files with 4 additions and 2 deletions

View File

@@ -18,8 +18,8 @@ async function fetchAdminRole() {
}
export async function createUser(
email = 'user@automatisch.io',
password = 'sample'
email = appConfig.seedUserEmail,
password = appConfig.seedUserPassword
) {
const UNIQUE_VIOLATION_CODE = '23505';