Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김대욱
/
trans
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김대욱
2020-11-27 20:32:43 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3713dff887e7eeeaad783cfc0e22b37beaaa28ce
3713dff8
1 parent
61d2c304
wish7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
app.js
app.js
View file @
3713dff
...
...
@@ -16,6 +16,7 @@ app.use(bodyParser.json());
var
cmd
;
app
.
post
(
'/hook'
,
function
(
req
,
res
)
{
var
eventObj
=
req
.
body
.
events
[
0
];
var
message
=
eventObj
.
message
;
cmd
=
message
.
text
;
});
...
...
Please
register
or
login
to post a comment