Skip to content

Commit

Permalink
feat(healthcheck): add writeHealthcheck method for upserts
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Dec 15, 2020
1 parent 4f6e51e commit 56bec96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@ class Fastly {
}
});
});

this.writeHealtcheck = this.upsertFn(
this.createHealthcheck,
this.updateHealthcheck,
this.readHealtcheck);
}

/**
Expand Down

0 comments on commit 56bec96

Please sign in to comment.