Fix Menu Desa Admin & User

This commit is contained in:
2025-09-30 17:13:06 +08:00
parent 295d6f7d63
commit c2f1ab8179
27 changed files with 897 additions and 593 deletions

View File

@@ -1,8 +1,8 @@
import prisma from "@/lib/prisma";
import { Context } from "elysia";
export default async function findByMonthYear(context: Context) {
const { month, year } = context.params as { month: string; year: string };
export default async function findByMonthYear({ params }: { params: { month: string; year: number } }) {
const { month, year } = params;
if (!month || !year) {
return {