Skip to content

🎥 Make videos programmatically with React

Update get-services.ts

Jonny Burgerda9e08ca9fc9
diff --git a/packages/cloudrun/src/api/get-services.ts b/packages/cloudrun/src/api/get-services.ts
index b86a8826e2..ea654792a8 100644
--- a/packages/cloudrun/src/api/get-services.ts
+++ b/packages/cloudrun/src/api/get-services.ts
@@ -80,7 +80,7 @@ export const getServices = async (
.split('--')[1]
.replace(/-/g, '.') as string,
uri: service.status.url as string,
- region: deployedRegion,
+ region: deployedRegion as GcpRegion,
consoleUrl: `https://console.cloud.google.com/run/detail/${deployedRegion}/${service.metadata.name}/logs`,
};
});
@@ -131,7 +131,7 @@ export const getServices = async (
.split('--')[0]
.replace(/-/g, '.') as string,
uri: service.uri as string,
- region: deployedRegion,
+ region: deployedRegion as GcpRegion,
consoleUrl: `https://console.cloud.google.com/run/detail/${deployedRegion}/${deployedServiceName}/logs`,
};
});