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,
|
||||
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()
|
||||
subsPlan, err := subsPlanSvc.GetAllPlan()
|
||||
if err != nil {
|
||||
|
||||
@ -298,7 +298,7 @@ paths:
|
||||
message:
|
||||
type: string
|
||||
|
||||
/subscribe-plan/get-all:
|
||||
/subscribe-plan:
|
||||
get:
|
||||
summary: Get all subscription plans
|
||||
tags:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user