minor changes

This commit is contained in:
mhsanaei committed 2024-05-28 16:28:20 +02:00
1 parent baf8c94b2e
commit fdf805f264
7 files changed
+18 -18

No files matched your search

-2
View File
@@ -65,7 +65,6 @@ func (a *SUBController) subs(c *gin.Context) {
host = c.Request.Host
}
}
host = host
subs, header, err := a.subService.GetSubs(subId, host)
if err != nil || len(subs) == 0 {
c.String(400, "Error!")
@@ -101,7 +100,6 @@ func (a *SUBController) subJsons(c *gin.Context) {
host = c.Request.Host
}
}
host = host
jsonSub, header, err := a.subJsonService.GetJson(subId, host)
if err != nil || len(jsonSub) == 0 {
c.String(400, "Error!")