chore: fix docs highlighting

This commit is contained in:
Bereket Engida
2025-03-02 21:00:35 +03:00
parent f12a7e79c9
commit ed2c7ab84b
2 changed files with 3 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ import { nextCookies } from "better-auth/next-js";
import { passkey } from "better-auth/plugins/passkey"; import { passkey } from "better-auth/plugins/passkey";
import { stripe } from "@better-auth/stripe"; import { stripe } from "@better-auth/stripe";
import { Stripe } from "stripe"; import { Stripe } from "stripe";
import { createAuthClient } from "better-auth/react";
const from = process.env.BETTER_AUTH_EMAIL || "delivered@resend.dev"; const from = process.env.BETTER_AUTH_EMAIL || "delivered@resend.dev";
const to = process.env.TEST_EMAIL || ""; const to = process.env.TEST_EMAIL || "";

View File

@@ -33,10 +33,8 @@ export const auth = betterAuth({
subscription: { subscription: {
// [!code highlight] // [!code highlight]
enabled: true, // [!code highlight] enabled: true, // [!code highlight]
plans: [ plans: [// [!code highlight]
// [!code highlight] { // [!code highlight]
{
// [!code highlight]
name: "pro", // [!code highlight] name: "pro", // [!code highlight]
priceId: "price_1234567890", // [!code highlight] priceId: "price_1234567890", // [!code highlight]
}, // [!code highlight] }, // [!code highlight]