summaryrefslogtreecommitdiffhomepage
path: root/cloud/app
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-01 03:55:48 -0400
committerDax Raad <[email protected]>2025-09-01 03:55:48 -0400
commit41338d1bf9cc941d57ced2a2958b1224fdfab988 (patch)
tree2842e41a0fcd5dbfecc3c0ccb6f8329e50fede68 /cloud/app
parent41ee9c94c7082ecd4971d7856f0d0aa7c560a7ed (diff)
downloadopencode-41338d1bf9cc941d57ced2a2958b1224fdfab988.tar.gz
opencode-41338d1bf9cc941d57ced2a2958b1224fdfab988.zip
wip: cloud
Diffstat (limited to 'cloud/app')
-rw-r--r--cloud/app/src/routes/workspace/[id].tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/cloud/app/src/routes/workspace/[id].tsx b/cloud/app/src/routes/workspace/[id].tsx
index 158fa80b7..2284f1c36 100644
--- a/cloud/app/src/routes/workspace/[id].tsx
+++ b/cloud/app/src/routes/workspace/[id].tsx
@@ -43,10 +43,15 @@ const getBillingInfo = query(async () => {
"use server"
return withActor(async () => {
const now = Date.now()
+ console.log("getting actor")
const actor = Actor.assert("user")
+ console.log("getting user")
const user = await User.fromID(actor.properties.userID)
+ console.log("getting billing")
const billing = await Billing.get()
+ console.log("getting payments")
const payments = await Billing.payments()
+ console.log("getting usage")
const usage = await Billing.usages()
console.log("getBillingInfo", {
duration: Date.now() - now,