feat(expenses): add import functionality for expenses and total pending calculation
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import type { Context } from "hono";
|
||||
import { getTotalPending } from "../expenses.service";
|
||||
|
||||
export async function getTotalPendingHandler(c: Context) {
|
||||
const result = await getTotalPending();
|
||||
return c.json(result);
|
||||
}
|
||||
Reference in New Issue
Block a user