Perbaikan Lanjutan
This commit is contained in:
@@ -100,12 +100,5 @@ func RegisterRoutes(cfg *config.Config) *gin.Engine {
|
||||
protectedRetribusi.DELETE("/:id", retribusiHandler.DeleteRetribusi) // DELETE /api/v1/retribusi/:id
|
||||
}
|
||||
|
||||
// BPJS endpoints (sensitive data - should be protected)
|
||||
// bpjsPesertaHandler := bpjsPesertaHandlers.NewPesertaHandler(cfg.Bpjs)
|
||||
// protectedBpjs := protected.Group("/bpjs")
|
||||
// {
|
||||
// protectedBpjs.GET("/peserta/nik/:nik/tglSEP/:tglSEP", bpjsPesertaHandler.GetPesertaByNIK)
|
||||
// }
|
||||
|
||||
return router
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user