From fc705746c0dad1c10caa29f7c20ee43971e3269a Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 6 Sep 2022 15:45:29 +0200 Subject: [PATCH] fix: gitlab webhook --- apps/api/src/routes/webhooks/gitlab/handlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/routes/webhooks/gitlab/handlers.ts b/apps/api/src/routes/webhooks/gitlab/handlers.ts index e661a29c5..58d01182a 100644 --- a/apps/api/src/routes/webhooks/gitlab/handlers.ts +++ b/apps/api/src/routes/webhooks/gitlab/handlers.ts @@ -133,7 +133,7 @@ export async function gitLabEvents(request: FastifyRequest) { await prisma.build.create({ data: { id: buildId, - pullmergeRequestId, + pullmergeRequestId: pullmergeRequestId.toString(), sourceBranch, applicationId: application.id, destinationDockerId: application.destinationDocker.id,