diff --git a/packages/backend/src/resolvers.ts b/packages/backend/src/resolvers.ts index b4c2c01c..e4692d99 100644 --- a/packages/backend/src/resolvers.ts +++ b/packages/backend/src/resolvers.ts @@ -221,7 +221,7 @@ export const createResolvers = async (service: Service): Promise => { organizationSlug: string; data: AddProjectFromTemplateInput; lrn: string; - auctionParams: AuctionParams, + auctionParams: AuctionParams; environmentVariables: EnvironmentVariables[]; }, context: any, diff --git a/packages/backend/src/schema.gql b/packages/backend/src/schema.gql index e51c1310..81f3ac85 100644 --- a/packages/backend/src/schema.gql +++ b/packages/backend/src/schema.gql @@ -159,6 +159,8 @@ input AddProjectFromTemplateInput { owner: String! name: String! isPrivate: Boolean! + paymentAddress: String! + txHash: String! } input AddProjectInput { @@ -166,6 +168,8 @@ input AddProjectInput { repository: String! prodBranch: String! template: String + paymentAddress: String! + txHash: String! } input UpdateProjectInput { diff --git a/packages/backend/src/service.ts b/packages/backend/src/service.ts index f91f8e0f..69dacb42 100644 --- a/packages/backend/src/service.ts +++ b/packages/backend/src/service.ts @@ -832,6 +832,8 @@ export class Service { repository: gitRepo.data.full_name, // TODO: Set selected template template: 'webapp', + paymentAddress: data.paymentAddress, + txHash: data.txHash }, lrn, auctionParams, environmentVariables); if (!project || !project.id) { diff --git a/packages/backend/src/types.ts b/packages/backend/src/types.ts index 4ea4123c..3223067d 100644 --- a/packages/backend/src/types.ts +++ b/packages/backend/src/types.ts @@ -70,6 +70,8 @@ export interface AddProjectFromTemplateInput { owner: string; name: string; isPrivate: boolean; + paymentAddress: string; + txHash: string; } export interface AuctionParams {