Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

Commit

Permalink
Merge pull request #11 from dougnukem/patch-1
Browse files Browse the repository at this point in the history
Add cacheSeconds which is preferred to maxAge
  • Loading branch information
kddnewton authored Mar 12, 2019
2 parents c5d36d8 + 8dfcde6 commit fbc5743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getRedirect.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const getStatus = checkSuites => {
return matched.conclusion;
};

const OPTIONS = ["style", "logo", "label", "logoColor", "logoWidth", "link", "colorA", "colorB", "maxAge"];
const OPTIONS = ["style", "logo", "label", "logoColor", "logoWidth", "link", "colorA", "colorB", "maxAge", "cacheSeconds"];

const getQueryParams = options => OPTIONS.reduce((accum, key) => {
const normal = options[key] || accum[key] || null;
Expand Down

0 comments on commit fbc5743

Please sign in to comment.