Merge pull request #347 from bipproduction/bagas/28-feb-25
fix package.json
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
||||
|
||||
## [1.2.68](https://github.com/bipproduction/hipmi/compare/v1.2.67...v1.2.68) (2025-02-28)
|
||||
|
||||
## [1.2.67](https://github.com/bipproduction/hipmi/compare/v1.2.66...v1.2.67) (2025-02-27)
|
||||
|
||||
## [1.2.66](https://github.com/bipproduction/hipmi/compare/v1.2.65...v1.2.66) (2025-02-27)
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
{
|
||||
"name": "hipmi",
|
||||
"version": "1.2.67",
|
||||
"version": "1.2.68",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"prisma": {
|
||||
"seed": "bun prisma/seed.ts"
|
||||
},
|
||||
|
||||
24
src/app/api/investasi/route.ts
Normal file
24
src/app/api/investasi/route.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import backendLogger from "@/util/backendLogger";
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
export { GET };
|
||||
|
||||
async function GET(request: Request) {
|
||||
try {
|
||||
return NextResponse.json({
|
||||
success: true,
|
||||
message: "Get data invetsasi",
|
||||
data: "",
|
||||
});
|
||||
} catch (error) {
|
||||
backendLogger.error("Error get data investasi", error);
|
||||
return NextResponse.json(
|
||||
{
|
||||
success: false,
|
||||
message: "Error get data from API ",
|
||||
reason: (error as Error).message,
|
||||
},
|
||||
{ status: 500 }
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user