hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { client } from "../client"; |
| 2 | import type { MealLedgerEntry } from "../client"; |
| 3 | |
| 4 | export function postMealCredit(body: { |
| 5 | student_id: string; |
| 6 | amount_minor: number; |
| 7 | method?: string; |
| 8 | note?: string; |
| 9 | }): Promise<MealLedgerEntry> { |
| 10 | return client<MealLedgerEntry>("/meals/credits", { method: "POST", body }); |
| 11 | } |