Skip to content
Snippets Groups Projects
Commit a295da42 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Add more logs on integrations

parent d7f97b23
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,10 @@ Api.addRoute ':integrationId/:userId/:token', authRequired: true,
if @bodyParams?.payload?
@bodyParams = JSON.parse @bodyParams.payload
console.log 'Post integration'
console.log '@urlParams', @urlParams
console.log '@bodyParams', @bodyParams
integration = RocketChat.models.Integrations.findOne(@urlParams.integrationId)
user = RocketChat.models.Users.findOne(@userId)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment