mirror of
https://github.com/zhigang1992/probot.git
synced 2026-06-18 07:19:08 +08:00
11 lines
241 B
JavaScript
11 lines
241 B
JavaScript
const Payload = require('./payload');
|
|
|
|
module.exports = class Context {
|
|
constructor(github, config, event) {
|
|
this.github = github;
|
|
this.event = event;
|
|
this.config = config;
|
|
this.payload = new Payload(event.payload);
|
|
}
|
|
};
|