Skip to content

Commit

Permalink
fix: allow feed index to be 0 when downloading (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
ottpeter authored Jan 17, 2024
1 parent 2bebb84 commit 5440c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feed/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function makeFeedReader(
owner,
topic,
async download(options?: FeedUpdateOptions): Promise<FetchFeedUpdateResponse> {
if (!options?.index) {
if (!options?.index && options?.index !== 0 {
return fetchLatestFeedUpdate(requestOptions, owner, topic, { ...options, type })
}

Expand Down

0 comments on commit 5440c81

Please sign in to comment.