Skip to content

Commit

Permalink
Merge pull request #75 from GridApe/IZU
Browse files Browse the repository at this point in the history
SEO CHANGES
  • Loading branch information
ezeanyimhenry authored Feb 18, 2025
2 parents 6c54597 + 22c466f commit 6d38c45
Show file tree
Hide file tree
Showing 13 changed files with 1,728 additions and 228 deletions.
9 changes: 9 additions & 0 deletions app/api/user/audience/delete/[id]/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { handleApiRequest } from '@/lib/api-utils';
import { NextRequest, NextResponse } from 'next/server';

export async function DELETE(
request: NextRequest,
{ params }: { params: { id: string } }
): Promise<NextResponse> {
return handleApiRequest(request, `/user/contacts/${params.id}`, 'DELETE');
}
9 changes: 9 additions & 0 deletions app/api/user/audience/update/[id]/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { handleApiRequest } from '@/lib/api-utils';
import { NextRequest, NextResponse } from 'next/server';

export async function PUT(
request: NextRequest,
{ params }: { params: { id: string } }
): Promise<NextResponse> {
return handleApiRequest(request, `/user/contacts/${params.id}`, 'PUT');
}
Loading

0 comments on commit 6d38c45

Please sign in to comment.