fix: path url and add docs
This commit is contained in:
@@ -12,7 +12,7 @@ func GetAllPlan(
|
||||
router chi.Router,
|
||||
subsPlanSvc subscribeplansvc.SubsPlanIntf,
|
||||
) {
|
||||
router.Get("/get-plans", func(w http.ResponseWriter, r *http.Request) {
|
||||
router.Get("/subscribe-plan/get-all", func(w http.ResponseWriter, r *http.Request) {
|
||||
ctx := r.Context()
|
||||
subsPlan, err := subsPlanSvc.GetAllPlan()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user