1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Minor fixes

This commit is contained in:
Maksym Pavlenko
2017-11-03 21:09:21 -07:00
parent e9da67c739
commit 4853f57ec4

View File

@@ -2,9 +2,9 @@ package feeds
import (
"fmt"
"log"
"time"
"github.com/emicklei/go-restful/log"
"github.com/go-pg/pg"
itunes "github.com/mxpv/podcast"
"github.com/mxpv/podsync/pkg/api"
@@ -140,7 +140,8 @@ func (s Service) Downgrade(patronID string, featureLevel int) error {
Set("page_size = ?", 50).
Set("feature_level = ?", 0).
Set("format = ?", api.FormatVideo).
Set("quality = ?", api.QualityHigh).Where("user_id = ?", patronID).
Set("quality = ?", api.QualityHigh).
Where("user_id = ?", patronID).
Update()
if err != nil {