We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edd27c8 commit b55d028Copy full SHA for b55d028
src/index.ts
@@ -1,6 +1,7 @@
1
import { Application } from 'probot' // eslint-disable-line no-unused-vars
2
import { CommentParser, LinkEntry } from './CommentParser'
3
import { SnippetResolver } from './SnippetResolver'
4
+import express from 'express'
5
6
export = (app: Application) => {
7
const parser = new CommentParser;
@@ -109,4 +110,12 @@ ${snippet.results.results.length ? snippet.results.results.map(issue => `${issue
109
110
responses.delete(comment.id);
111
}
112
});
113
+
114
+ const router = app.route();
115
+ router.use(express.json());
116
117
+ app.route().post('/deploy', (req, res) => {
118
+ app.log(req.body);
119
+ res.sendStatus(200);
120
+ });
121
0 commit comments