Skip to content

Commit

Permalink
fix: changing create-customer to post instead of get
Browse files Browse the repository at this point in the history
  • Loading branch information
wrsrsh committed Dec 22, 2024
1 parent 1bc53ad commit 9dab2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/dodopayments-billing/create-customer/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { headers } from "next/headers";
import { NextResponse } from "next/server";
import { z } from "zod";

export async function GET(request: Request) {
export async function POST(request: Request) {
try {
const res = await auth.api.getSession({
headers: await headers(),
Expand Down

0 comments on commit 9dab2cb

Please sign in to comment.