Merge branch 'nico/push-stg' into nico/30-jun-2025

This commit is contained in:
2025-06-30 11:15:06 +08:00
committed by GitHub
4 changed files with 2 additions and 3 deletions

View File

@@ -75,7 +75,6 @@ const persentasekelahiran = proxy({
}
},
},
findUnique: {
data: null as Prisma.DataKematian_KelahiranGetPayload<{
omit: { isActive: true };
@@ -168,7 +167,6 @@ update: {
"Content-Type": "application/json",
},
});
const result = await response.json();
if (response.ok && result?.success) {

View File

@@ -52,7 +52,6 @@ const handleSubmit = async () => {
toast.error('Gagal memperbarui data');
}
};
return (
<Box>
<Box mb={10}>

View File

@@ -2,6 +2,7 @@ import prisma from "@/lib/prisma";
import { Context } from "elysia";
export default async function grafikKepuasanDelete(context: Context) {
const id = context.params?.id;
if (!id) {

View File

@@ -3,6 +3,7 @@ import prisma from "@/lib/prisma";
export default async function grafikKepuasanFindUnique(request: Request) {
const url = new URL(request.url);
const pathSegments = url.pathname.split('/');
const id = pathSegments[pathSegments.length - 1];
if (!id) {