Skip to content

Commit

Permalink
Allow FTP fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
irees committed Oct 11, 2023
1 parent 4060b6b commit 38fce8a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions actions/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ func StaticFetch(ctx context.Context, cfg config.Config, dbf model.Finder, feedI

// Prepare
fetchOpts := fetch.Options{
FeedID: feed.ID,
URLType: urlType,
FeedURL: feedUrl,
Storage: cfg.Storage,
Secrets: cfg.Secrets,
FetchedAt: time.Now().In(time.UTC),
FeedID: feed.ID,
URLType: urlType,
FeedURL: feedUrl,
Storage: cfg.Storage,
Secrets: cfg.Secrets,
FetchedAt: time.Now().In(time.UTC),
AllowFTPFetch: true,
}
if user != nil {
fetchOpts.CreatedBy = tt.NewString(user.ID())
Expand Down

0 comments on commit 38fce8a

Please sign in to comment.