Skip to content

Commit

Permalink
fix: feedly fetchUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Jul 19, 2023
1 parent 97c3773 commit 234f039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/src/providers/feedly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default async function feedlyProvider(
return commonProviderHandler<FeedlyResponse>({
providerName: 'feedly',
queryKey: key,
fetchUrl: `https://feedly.com/v3/recommendations/feeds/feed%2F${key}?count=0`,
fetchUrl: `https://feedly.com/v3/recommendations/feeds/feed%2F${encodeURIComponent(key)}?count=0`,
countObjPath: 'source.subscribers',
errorMessageObjPath: 'no error message fallback to default',
isResponseValid: d => 'source' in d,
Expand Down

0 comments on commit 234f039

Please sign in to comment.