From 06d1ee9074ca8fee8f6038bb859d1c05d0c8d91b Mon Sep 17 00:00:00 2001 From: NicoSerranoP Date: Tue, 26 Nov 2024 13:23:46 -0500 Subject: [PATCH] fix: send cpu value as number --- packages/backend/src/functions/circuit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/functions/circuit.ts b/packages/backend/src/functions/circuit.ts index 96e58148..680f377a 100644 --- a/packages/backend/src/functions/circuit.ts +++ b/packages/backend/src/functions/circuit.ts @@ -460,7 +460,7 @@ const checkIfVMRunning = async (ec2: EC2Client, vmInstanceId: string, attempts = * 2) Send all updates atomically to the Firestore database. */ export const verifycontribution = functionsV2.https.onCall( - { memory: "32GiB", timeoutSeconds: 3600, region: "europe-west1", cpu: "6" }, + { memory: "32GiB", timeoutSeconds: 3600, region: "europe-west1", cpu: 6 }, async (request: functionsV2.https.CallableRequest): Promise => { try { if (!request.auth || (!request.auth.token.participant && !request.auth.token.coordinator))