Skip to content

Commit 83381f3

Browse files
committed
update gcloud pricing again
1 parent 286f4f8 commit 83381f3

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/packages/frontend/compute/cloud-filesystem/util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ export function getDataStoragePrice({
4949
return null;
5050
}
5151
if (!bucket_location.includes("-")) {
52-
return prices.storage?.atRest?.multiRegions[bucket_location]?.[
52+
return prices.storage?.atRest?.multiRegions?.[bucket_location]?.[
5353
capitalize(bucket_storage_class)
5454
];
5555
} else {
56-
return prices.storage?.atRest?.regions[bucket_location]?.[
56+
return prices.storage?.atRest?.regions?.[bucket_location]?.[
5757
capitalize(bucket_storage_class)
5858
];
5959
}

src/packages/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"dependencies": {
3939
"@cocalc/backend": "workspace:*",
4040
"@cocalc/database": "workspace:*",
41-
"@cocalc/gcloud-pricing-calculator": "^1.12.4",
41+
"@cocalc/gcloud-pricing-calculator": "^1.12.5",
4242
"@cocalc/server": "workspace:*",
4343
"@cocalc/util": "workspace:*",
4444
"@google-ai/generativelanguage": "^2.6.0",

0 commit comments

Comments
 (0)