lint
This commit is contained in:
parent
20c1ac2619
commit
1d5d547ac0
@ -14,7 +14,7 @@ exports.isCallbackSet = !!CALLBACK_URL
|
|||||||
exports.callbackHandler = (update, origin, doc) => {
|
exports.callbackHandler = (update, origin, doc) => {
|
||||||
const room = doc.name
|
const room = doc.name
|
||||||
const dataToSend = {
|
const dataToSend = {
|
||||||
room: room,
|
room,
|
||||||
data: {}
|
data: {}
|
||||||
}
|
}
|
||||||
const sharedObjectList = Object.keys(CALLBACK_OBJECTS)
|
const sharedObjectList = Object.keys(CALLBACK_OBJECTS)
|
||||||
@ -39,7 +39,7 @@ const callbackRequest = (url, timeout, data) => {
|
|||||||
hostname: url.hostname,
|
hostname: url.hostname,
|
||||||
port: url.port,
|
port: url.port,
|
||||||
path: url.pathname,
|
path: url.pathname,
|
||||||
timeout: timeout,
|
timeout,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user