Merge pull request #84 from bkeepers/remove-payload

Remove payload module
This commit is contained in:
Brandon Keepers 2017-02-27 15:07:18 -06:00 committed by GitHub
commit e59402eb34
2 changed files with 1 additions and 8 deletions

View File

@ -1,10 +1,8 @@
const Payload = require('./payload');
module.exports = class Context {
constructor(github, event) {
this.github = github;
this.event = event;
this.payload = new Payload(event.payload);
this.payload = event.payload;
}
toRepo(object) {

View File

@ -1,5 +0,0 @@
module.exports = class Payload {
constructor(params) {
Object.assign(this, params);
}
};