Skip to content

Commit

Permalink
disable the abstractapi provider - part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
chas-iot committed Jul 30, 2020
1 parent 0bba9ac commit fee4182
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/holidayAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,11 @@ function getNagerDates(api, context, merge, setStatus) {
});
}


// abstractapi changed their free tier in ways that made it no longer supportable
function getAbstractAPIDates(api, context, merge, setStatus) {
setStatus('abstractapi no longer supported', context);
merge([], context);
/*
const requestDays = 45;
const apiDates = [];
const ENDPOINT = 'https://holidays.abstractapi.com/v1/?api_key=';
Expand Down Expand Up @@ -221,6 +224,7 @@ function getAbstractAPIDates(api, context, merge, setStatus) {
setStatus(e.message, context);
merge([], context);
});
*/
}

function applyParams(req, params) {
Expand Down

0 comments on commit fee4182

Please # to comment.