8 lines
221 B
TypeScript
8 lines
221 B
TypeScript
import type { Context } from "hono";
|
|
import { getTotalPending } from "../expenses.service";
|
|
|
|
export async function getTotalPendingHandler(c: Context) {
|
|
const result = await getTotalPending();
|
|
return c.json(result);
|
|
}
|