chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-30 08:56:10 +00:00
parent 6a2cd816b7
commit 69b2784b13
@@ -75,14 +75,11 @@ const createLiteCheckoutUrl = action(
async (workspaceID: string, successUrl: string, cancelUrl: string, method?: "alipay" | "upi") => { async (workspaceID: string, successUrl: string, cancelUrl: string, method?: "alipay" | "upi") => {
"use server" "use server"
return json( return json(
await withActor( await withActor(async () => {
async () => { const data = await Billing.generateLiteCheckoutUrl({ successUrl, cancelUrl, method })
const data = await Billing.generateLiteCheckoutUrl({ successUrl, cancelUrl, method }) await createReferralFromCookie()
await createReferralFromCookie() return { error: undefined, data }
return { error: undefined, data } }, workspaceID).catch((e) => ({
},
workspaceID,
).catch((e) => ({
error: e.message as string, error: e.message as string,
data: undefined, data: undefined,
})), })),