diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-04-28 11:49:23 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-04-28 11:49:23 +0530 |
commit | c3249a95bab905fa272a953133a643b49bdff557 (patch) | |
tree | 977ecd8b6bc87493e7a97df6225cc161585694a0 /src/route/transaction.ts | |
parent | b5f78bf3049c181b47d8692b728d7087c4fad51d (diff) |
Diffstat (limited to 'src/route/transaction.ts')
-rw-r--r-- | src/route/transaction.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/route/transaction.ts b/src/route/transaction.ts index d42f94b..c0893fc 100644 --- a/src/route/transaction.ts +++ b/src/route/transaction.ts @@ -16,11 +16,13 @@ */ import { Router } from "express"; -import { get, addNew, remove } from "../controller/transaction"; +import { get, getOne, addNew, remove } from "../controller/transaction"; +import {getFriend} from "../controller/friend"; const router: Router = Router(); router.get("/", get); +router.get("/:transactionId", getOne); router.post("/", addNew); router.delete("/", remove); |