🎥 Make videos programmatically with React
missing variable in render still code
Matt McGillivray8e1b2f09598b
diff --git a/packages/gcp/src/api/render-still-on-gcp.ts b/packages/gcp/src/api/render-still-on-gcp.tsindex be5ce68c89..f2a32f5b04 100644--- a/packages/gcp/src/api/render-still-on-gcp.ts+++ b/packages/gcp/src/api/render-still-on-gcp.ts@@ -1,6 +1,7 @@import got from 'got';import {validateCloudRunUrl} from '../shared/validate-cloudrun-url';import {validateServeUrl} from '../shared/validate-serveurl';+import { parseCloudRunUrl } from './helpers/parse-cloud-run-url';export type RenderStillOnGcpInput = {cloudRunUrl: string;@@ -57,6 +58,8 @@ export const renderStillOnGcp = async ({validateServeUrl(serveUrl);validateCloudRunUrl(cloudRunUrl);+ const cloudRunInfo = parseCloudRunUrl(cloudRunUrl);+// todo: allow serviceName to be passed in, and fetch the cloud run URL based on the nameconst postData = {