Skip to content

Commit 66768b6

Browse files
committed
#2083 - fixed financeTeam id attribution.
1 parent c35194a commit 66768b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backend/src/prisma/seed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ const performSeed: () => Promise<void> = async () => {
204204

205205
/** If the .env file exists, set the FINANCE_TEAM_ID */
206206
if (currentEnv) {
207-
currentEnv.FINANCE_TEAM_ID = financeTeam;
207+
currentEnv.FINANCE_TEAM_ID = financeTeam.teamId;
208208
/** Write the new .env file */
209209
let stringifiedEnv = '';
210210
Object.keys(currentEnv).forEach((key) => {

0 commit comments

Comments
 (0)