feat(panDomain): update subscription logic to use V2 handler for improved functionality

This commit is contained in:
Chang lue Tsen
2025-08-16 06:18:32 -04:00
parent 2dfb1030e1
commit 81a46d1f13
4 changed files with 238 additions and 244 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func PanDomainMiddleware(svc *svc.ServiceContext) func(c *gin.Context) {
UA: c.Request.Header.Get("User-Agent"),
}
l := subscribe.NewSubscribeLogic(c, svc)
resp, err := l.Generate(&request)
resp, err := l.V2(&request)
if err != nil {
return
}