Skip to content

Commit

Permalink
fix: 馃悰 reddit request config not work
Browse files Browse the repository at this point in the history
  • Loading branch information
theowenyoung committed Nov 7, 2020
1 parent 39c14dd commit d68ee04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/actionsflow-trigger-reddit/src/index.ts
Expand Up @@ -117,7 +117,10 @@ export default class Reddit implements ITriggerClassType {
}
let items: AnyObject[] = [];
if (this.source === "json") {
items = await this.requestJSON(urls, this.options.config as AnyObject);
items = await this.requestJSON(
urls,
this.options.requestConfig as AnyObject
);
} else {
items = await this.requestRSS(urls);
}
Expand Down

0 comments on commit d68ee04

Please sign in to comment.