mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +00:00
Small Updates
This commit is contained in:
parent
7290892076
commit
0dc31307c7
2 changed files with 2 additions and 8 deletions
|
@ -4,10 +4,7 @@ import { NextResponse } from 'next/server';
|
||||||
|
|
||||||
import { db } from '@/lib/db';
|
import { db } from '@/lib/db';
|
||||||
|
|
||||||
export async function GET(
|
export async function GET({ params }: { params: { cardId: string } }) {
|
||||||
req: Request,
|
|
||||||
{ params }: { params: { cardId: string } }
|
|
||||||
) {
|
|
||||||
try {
|
try {
|
||||||
const { orgId, userId } = auth();
|
const { orgId, userId } = auth();
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,7 @@ import { NextResponse } from 'next/server';
|
||||||
|
|
||||||
import { db } from '@/lib/db';
|
import { db } from '@/lib/db';
|
||||||
|
|
||||||
export async function GET(
|
export async function GET({ params }: { params: { cardId: string } }) {
|
||||||
req: Request,
|
|
||||||
{ params }: { params: { cardId: string } }
|
|
||||||
) {
|
|
||||||
try {
|
try {
|
||||||
const { orgId, userId } = auth();
|
const { orgId, userId } = auth();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue