Replace sourced items
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2021-10-21 23:08:57 +02:00
parent a331f4a300
commit 6e347bd493
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -609,9 +609,10 @@ func ProcessSourcedItems(fetcher fetch.FetcherFunc, fetchURL, contentType string
return nil, err
}
for _, item := range items {
for i, item := range items {
item.Read = false
item.Source = source
items[i] = item
}
return items, nil