Skip to content

Commit ec63f85

Browse files
committed
fix: correctly download and prep us_non_sdn
1 parent 17787ef commit ec63f85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/download/download.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ func (dl *downloader) RefreshAll(ctx context.Context) (Stats, error) {
9696
}
9797

9898
// OFAC Non-SDN Records
99-
if slices.Contains(dl.conf.IncludedLists, search.SourceUSNonSDN) {
100-
requestedLists = append(requestedLists, search.SourceUSNonSDN)
99+
if slices.Contains(requestedLists, search.SourceUSNonSDN) {
100+
listsLoaded = append(listsLoaded, search.SourceUSNonSDN)
101101

102102
producerWg.Add(1)
103103
g.Go(func() error {

0 commit comments

Comments
 (0)