feat: delete common GetSubscription

This commit is contained in:
Chang lue Tsen
2025-09-04 09:32:39 -04:00
parent 7ecf955eb7
commit 8f11380e7a
2 changed files with 0 additions and 59 deletions
@@ -1,18 +0,0 @@
package common
import (
"github.com/gin-gonic/gin"
"github.com/perfect-panel/server/internal/logic/common"
"github.com/perfect-panel/server/internal/svc"
"github.com/perfect-panel/server/pkg/result"
)
// Get Subscription
func GetSubscriptionHandler(svcCtx *svc.ServiceContext) func(c *gin.Context) {
return func(c *gin.Context) {
l := common.NewGetSubscriptionLogic(c.Request.Context(), svcCtx)
resp, err := l.GetSubscription()
result.HttpResult(c, resp, err)
}
}