diff options
| author | Dax Raad <[email protected]> | 2025-09-01 03:51:45 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-09-01 03:51:45 -0400 |
| commit | 9c16db0f362f6f55430d9ff1daafe373bcfb2025 (patch) | |
| tree | 010b170dd50f0ed5ac400e84906959b24b97d534 /cloud/app | |
| parent | 721869353bc8210f5b39f3ccfffe69f2ae804273 (diff) | |
| download | opencode-9c16db0f362f6f55430d9ff1daafe373bcfb2025.tar.gz opencode-9c16db0f362f6f55430d9ff1daafe373bcfb2025.zip | |
wip: cloud
Diffstat (limited to 'cloud/app')
| -rw-r--r-- | cloud/app/src/routes/workspace/[id].tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cloud/app/src/routes/workspace/[id].tsx b/cloud/app/src/routes/workspace/[id].tsx index 0eb18fca8..158fa80b7 100644 --- a/cloud/app/src/routes/workspace/[id].tsx +++ b/cloud/app/src/routes/workspace/[id].tsx @@ -42,12 +42,15 @@ const removeKey = action(async (id: string) => { const getBillingInfo = query(async () => { "use server" return withActor(async () => { + const now = Date.now() const actor = Actor.assert("user") const user = await User.fromID(actor.properties.userID) const billing = await Billing.get() const payments = await Billing.payments() const usage = await Billing.usages() - console.log({ user, billing, payments, usage }) + console.log("getBillingInfo", { + duration: Date.now() - now, + }) return { user, billing, payments, usage } }) }, "billingInfo") |
