chore: stabilize lint and verify builds
This commit is contained in:
@@ -256,6 +256,12 @@ func (r *Routes) Register(router fiber.Router) {
|
||||
r.finance.ListLedgers,
|
||||
Query[dto.SuperLedgerListFilter]("filter"),
|
||||
))
|
||||
r.log.Debugf("Registering route: Post /super/v1/finance/recharge-codes/activate -> finance.ActivateRechargeCodes")
|
||||
router.Post("/super/v1/finance/recharge-codes/activate"[len(r.Path()):], DataFunc2(
|
||||
r.finance.ActivateRechargeCodes,
|
||||
Local[*models.User]("__ctx_user"),
|
||||
Body[dto.RechargeCodeActivateForm]("form"),
|
||||
))
|
||||
// Register routes for controller: healths
|
||||
r.log.Debugf("Registering route: Get /super/v1/health/overview -> healths.Overview")
|
||||
router.Get("/super/v1/health/overview"[len(r.Path()):], DataFunc1(
|
||||
@@ -539,6 +545,13 @@ func (r *Routes) Register(router fiber.Router) {
|
||||
PathParam[int64]("id"),
|
||||
Body[dto.UserStatusUpdateForm]("form"),
|
||||
))
|
||||
r.log.Debugf("Registering route: Post /super/v1/users/:id<int>/wallet/credit -> users.CreditWallet")
|
||||
router.Post("/super/v1/users/:id<int>/wallet/credit"[len(r.Path()):], Func3(
|
||||
r.users.CreditWallet,
|
||||
Local[*models.User]("__ctx_user"),
|
||||
PathParam[int64]("id"),
|
||||
Body[dto.SuperWalletCreditForm]("form"),
|
||||
))
|
||||
// Register routes for controller: withdrawals
|
||||
r.log.Debugf("Registering route: Get /super/v1/withdrawals -> withdrawals.List")
|
||||
router.Get("/super/v1/withdrawals"[len(r.Path()):], DataFunc1(
|
||||
|
||||
Reference in New Issue
Block a user