Ghost/ghost/verification-trigger
Daniel Lockyer a9b011ad4b Avoided loading newsletter subscription events if threshold is Infinity
- if the threshold is Infinity, we shouldn't be loading the newsletter
  subscription events because we are saying there is no threshold
- the code has a quick path to avoid comparing the values, but it still
  loads the events upfront
- this commit moves the quick path up to return earlier
- this has the nice side-effect of producing 100% coverage on this
  package
2022-08-01 09:23:04 +02:00
..
lib Avoided loading newsletter subscription events if threshold is Infinity 2022-08-01 09:23:04 +02:00
test Avoided loading newsletter subscription events if threshold is Infinity 2022-08-01 09:23:04 +02:00
.eslintrc.js
index.js
package.json Removed repository from component package.json files 2022-07-25 11:15:16 +02:00