From 82dab8ce21b139837dede3e5df279f71b42a2c50 Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Mon, 7 Oct 2024 19:25:15 +0530 Subject: [PATCH] Fix deployer LRN field in project --- packages/backend/src/entity/Project.ts | 2 +- packages/backend/src/service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/entity/Project.ts b/packages/backend/src/entity/Project.ts index 8b5f424a..f4f14394 100644 --- a/packages/backend/src/entity/Project.ts +++ b/packages/backend/src/entity/Project.ts @@ -49,7 +49,7 @@ export class Project { @Column('varchar', { nullable: true }) auctionId?: string | null; - @Column('varchar', { nullable: true }) + @Column({ type: 'simple-array', nullable: true }) deployerLrn?: string[] | null; // TODO: Compute template & framework in import repository diff --git a/packages/backend/src/service.ts b/packages/backend/src/service.ts index dc0a91f5..02fd004a 100644 --- a/packages/backend/src/service.ts +++ b/packages/backend/src/service.ts @@ -718,7 +718,7 @@ export class Service { const applicationRecordId = record.id; const applicationRecordData = record.attributes; - for (const deployer in deployerLrns) { + for (const deployer of deployerLrns) { // Create deployment with prod branch and latest commit const deploymentData = { project,