diff options
| author | Dax Raad <[email protected]> | 2025-10-04 21:33:39 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-10-04 21:33:47 -0400 |
| commit | 5f7ae6477bca82eb0d53f325fe01dc25f50d85c2 (patch) | |
| tree | d69392511a90135df642a071bf06da81a9525a9a /packages/console/app/src/routes/stripe | |
| parent | f41a54b4b01897533e28c86ed31ec3c136269969 (diff) | |
| download | opencode-5f7ae6477bca82eb0d53f325fe01dc25f50d85c2.tar.gz opencode-5f7ae6477bca82eb0d53f325fe01dc25f50d85c2.zip | |
sync
Diffstat (limited to 'packages/console/app/src/routes/stripe')
| -rw-r--r-- | packages/console/app/src/routes/stripe/webhook.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/console/app/src/routes/stripe/webhook.ts b/packages/console/app/src/routes/stripe/webhook.ts index a9f575976..c12f47afc 100644 --- a/packages/console/app/src/routes/stripe/webhook.ts +++ b/packages/console/app/src/routes/stripe/webhook.ts @@ -1,11 +1,11 @@ -import { Billing } from "@opencode/console-core/billing.js" +import { Billing } from "@opencode-ai/console-core/billing.js" import type { APIEvent } from "@solidjs/start/server" -import { and, Database, eq, sql } from "@opencode/console-core/drizzle/index.js" -import { BillingTable, PaymentTable } from "@opencode/console-core/schema/billing.sql.js" -import { Identifier } from "@opencode/console-core/identifier.js" -import { centsToMicroCents } from "@opencode/console-core/util/price.js" -import { Actor } from "@opencode/console-core/actor.js" -import { Resource } from "@opencode/console-resource" +import { and, Database, eq, sql } from "@opencode-ai/console-core/drizzle/index.js" +import { BillingTable, PaymentTable } from "@opencode-ai/console-core/schema/billing.sql.js" +import { Identifier } from "@opencode-ai/console-core/identifier.js" +import { centsToMicroCents } from "@opencode-ai/console-core/util/price.js" +import { Actor } from "@opencode-ai/console-core/actor.js" +import { Resource } from "@opencode-ai/console-resource" export async function POST(input: APIEvent) { const body = await Billing.stripe().webhooks.constructEventAsync( |
