Merge pull request #191 from bipproduction/fix/bug/donasi

Fix bug job
This commit is contained in:
Bagasbanuna02
2024-12-12 14:46:56 +08:00
committed by GitHub
17 changed files with 256 additions and 169 deletions

View File

@@ -0,0 +1,16 @@
import { job_getAllListPublish } from "@/app_modules/job/fun/get/get_all_publish";
import _ from "lodash";
import { NextResponse } from "next/server";
export async function GET(params: Request) {
const { searchParams } = new URL(params.url);
const page = searchParams.get("page");
const search = searchParams.get("search");
const data = await job_getAllListPublish({
page: _.toNumber(page),
search: search as string,
});
return NextResponse.json({ data });
}