mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-02 03:39:38 +00:00
Formated Files
This commit is contained in:
parent
d5631b309a
commit
e768d9181f
138 changed files with 1829 additions and 1851 deletions
|
@ -1,7 +1,7 @@
|
|||
import { auth } from "@clerk/nextjs";
|
||||
import { NextResponse } from "next/server";
|
||||
import { auth } from '@clerk/nextjs';
|
||||
import { NextResponse } from 'next/server';
|
||||
|
||||
import { db } from "@/lib/db";
|
||||
import { db } from '@/lib/db';
|
||||
|
||||
export async function GET(
|
||||
req: Request,
|
||||
|
@ -11,7 +11,7 @@ export async function GET(
|
|||
const { orgId, userId } = auth();
|
||||
|
||||
if (!orgId || !userId)
|
||||
return new NextResponse(JSON.stringify({ error: "Unauthorized" }), {
|
||||
return new NextResponse(JSON.stringify({ error: 'Unauthorized' }), {
|
||||
status: 401,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue