From 372baa51e95a13a548fa689ef1f99837a2921a73 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 22 Feb 2022 11:18:18 +0000 Subject: [PATCH] fix redis queue --- app/controllers/api/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 74eadb009f..0741f09907 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -598,7 +598,7 @@ App::post('/v1/functions/:functionId/deployments') // Enqueue a message to start the build Resque::enqueue(Event::BUILDS_QUEUE_NAME, Event::BUILDS_CLASS_NAME, [ 'projectId' => $project->getId(), - 'resourceId' => $function->getId(), + 'functionId' => $function->getId(), 'deploymentId' => $deploymentId, 'type' => BUILD_TYPE_DEPLOYMENT ]);