|
|
@@ -3,7 +3,7 @@ import { restApiFetch } from "@/utils/bagisto";
|
|
|
import { isBagistoError } from "@/utils/type-guards";
|
|
|
import { getAuthToken } from "@/utils/helper";
|
|
|
import type { GiftCardRespBody,FetchResult } from '@/types/api/gift/my-gift-cards';
|
|
|
-export async function GET(req: NextRequest,{ }: { }) {
|
|
|
+export async function GET(req: NextRequest) {
|
|
|
try {
|
|
|
const guestToken = getAuthToken(req);
|
|
|
const response = await restApiFetch<FetchResult<GiftCardRespBody>>({
|