Remove payload module

This commit is contained in:
Brandon Keepers 2017-02-26 16:58:41 -06:00
parent a22025dbba
commit 49c808d354
No known key found for this signature in database
GPG Key ID: F9533396D5FACBF6
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);
}
};