fix: change path get all subscribe plan

This commit is contained in:
ericprd 2025-02-25 14:23:59 +08:00
parent aee94a5c9c
commit ba075b67fd
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -298,7 +298,7 @@ paths:
message:
type: string
/subscribe-plan/get-all:
/subscribe-plan:
get:
summary: Get all subscription plans
tags: