From a2ef0e58726cf2cff71abe891ab83113e8d010fe Mon Sep 17 00:00:00 2001 From: Mohamad Ihsan Date: Wed, 6 Jul 2022 19:52:25 +0700 Subject: [PATCH] update --- application/routes/hsm.routes.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/application/routes/hsm.routes.js b/application/routes/hsm.routes.js index 9adbcad..79c36fa 100644 --- a/application/routes/hsm.routes.js +++ b/application/routes/hsm.routes.js @@ -16,27 +16,27 @@ const _end = require("../modules/hsm/endTranscation"); const _getService = require("../modules/hsm/service_block"); -router.post("/read", auth.authenticateToken, _readData); -router.post("/readResp", auth.authenticateToken, _readDataResp); -router.post("/auth1", auth.authenticateToken, _auth1); -router.post("/auth2", auth.authenticateToken, _auth2); -router.post("/authResp", auth.authenticateToken, _authResp); +router.post("/topup1", auth.authenticateToken, _auth1); +router.post("/topup2", auth.authenticateToken, _auth2); +router.post("/topup3", auth.authenticateToken, _authResp); +router.post("/topup4", auth.authenticateToken, _readData); +router.post("/topup5", auth.authenticateToken, _readDataResp); router.post( - "/topup", + "/topup6", auth.authenticateToken, _topup.validate("topup"), _topup.controller ); router.post( - "/topupResp", + "/topup7", auth.authenticateToken, _topupResp.validate("topupResponse"), _topupResp.controller ); -router.post("/end", auth.authenticateToken, _end); +router.post("/topup8", auth.authenticateToken, _end); router.get("/getservice", auth.authenticateToken, _getService);