Add job for monitoring bw limit status of tokens
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
||||
"github.com/debridmediamanager/zurg/internal/config"
|
||||
"github.com/debridmediamanager/zurg/internal/version"
|
||||
"github.com/debridmediamanager/zurg/pkg/realdebrid"
|
||||
"github.com/debridmediamanager/zurg/pkg/utils"
|
||||
)
|
||||
|
||||
type SponsorResponse struct {
|
||||
@@ -117,7 +118,7 @@ func (zr *Handlers) generateResponse(resp http.ResponseWriter, req *http.Request
|
||||
Paypal: "https://paypal.me/yowmamasita",
|
||||
},
|
||||
Config: zr.cfg.GetConfig(),
|
||||
Token: strings.Replace(token, token[len(token)-48:], "*****", 1),
|
||||
Token: utils.MaskToken(token),
|
||||
IDsToDelete: sortedIDs,
|
||||
Hosts: zr.hosts,
|
||||
}, nil
|
||||
|
||||
Reference in New Issue
Block a user