From 226127fe4a2a92c8b6119e9426fe4f55ac12a71c Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Fri, 28 Feb 2025 10:58:33 +0800 Subject: [PATCH 1/2] chore(release): 1.2.68 --- CHANGELOG.md | 2 ++ package.json | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38774f29..06441224 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index 1748cb34..cdc97024 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,7 @@ { "name": "hipmi", - "version": "1.2.67", + "version": "1.2.68", "private": true, - "type": "module", "prisma": { "seed": "bun prisma/seed.ts" }, From 91299836cfb1d042a92edfc32083a682d74e9b74 Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Fri, 28 Feb 2025 11:03:17 +0800 Subject: [PATCH 2/2] fix package.json --- src/app/api/investasi/route.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/app/api/investasi/route.ts diff --git a/src/app/api/investasi/route.ts b/src/app/api/investasi/route.ts new file mode 100644 index 00000000..95bde29d --- /dev/null +++ b/src/app/api/investasi/route.ts @@ -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 } + ); + } +}