upd: firebase admin

Deskripsi:
- percobaan api elysia firebase admin fcm

No Issues
This commit is contained in:
amel
2025-06-30 11:03:30 +08:00
parent 4e4fc7d1cf
commit a516dac79e
9 changed files with 92 additions and 136 deletions

View File

@@ -2,7 +2,7 @@ import { NextResponse } from "next/server";
export async function GET(request: Request) {
try {
return NextResponse.json({ success: true, version: "1.5.0", tahap: "beta", update: "- update api mobile; - firebase admin" }, { status: 200 });
return NextResponse.json({ success: true, version: "1.5.1", tahap: "beta", update: "-percobaan firebase admin fcm" }, { status: 200 });
} catch (error) {
console.error(error);
return NextResponse.json({ success: false, version: "Gagal mendapatkan version, coba lagi nanti (error: 500)", reason: (error as Error).message, }, { status: 500 });