fix: change path get all subscribe plan
This commit is contained in:
parent
aee94a5c9c
commit
ba075b67fd
@ -12,7 +12,7 @@ func GetAllPlan(
|
|||||||
router chi.Router,
|
router chi.Router,
|
||||||
subsPlanSvc subscribeplansvc.SubsPlanIntf,
|
subsPlanSvc subscribeplansvc.SubsPlanIntf,
|
||||||
) {
|
) {
|
||||||
router.Get("/subscribe-plan/get-all", func(w http.ResponseWriter, r *http.Request) {
|
router.Get("/subscribe-plan", func(w http.ResponseWriter, r *http.Request) {
|
||||||
ctx := r.Context()
|
ctx := r.Context()
|
||||||
subsPlan, err := subsPlanSvc.GetAllPlan()
|
subsPlan, err := subsPlanSvc.GetAllPlan()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@ -298,7 +298,7 @@ paths:
|
|||||||
message:
|
message:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
/subscribe-plan/get-all:
|
/subscribe-plan:
|
||||||
get:
|
get:
|
||||||
summary: Get all subscription plans
|
summary: Get all subscription plans
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user