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

Fix metadata response for Redis storage

This commit is contained in:
Maksym Pavlenko
2017-08-20 18:40:16 -07:00
parent 4ca6d8bcc6
commit ed08543a5f

View File

@ -68,9 +68,11 @@ func (r *RedisStorage) GetFeed(hashId string) (*api.Feed, error) {
}
feed := &api.Feed{
PageSize: api.DefaultPageSize,
Quality: api.DefaultQuality,
Format: api.DefaultFormat,
PageSize: api.DefaultPageSize,
Quality: api.DefaultQuality,
Format: api.DefaultFormat,
HashId: hashId,
LastAccess: time.Now().UTC(),
}
m := make(map[string]string, len(result))