Merge pull request #347 from bipproduction/bagas/28-feb-25

fix package.json
This commit is contained in:
Bagasbanuna02
2025-02-28 11:04:22 +08:00
committed by GitHub
3 changed files with 27 additions and 2 deletions

View File

@@ -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)

View File

@@ -1,8 +1,7 @@
{
"name": "hipmi",
"version": "1.2.67",
"version": "1.2.68",
"private": true,
"type": "module",
"prisma": {
"seed": "bun prisma/seed.ts"
},

View 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 }
);
}
}