This commit is contained in:
Kevin Jahns 2022-08-19 15:09:54 +02:00
parent 20c1ac2619
commit 1d5d547ac0
2 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ exports.isCallbackSet = !!CALLBACK_URL
exports.callbackHandler = (update, origin, doc) => {
const room = doc.name
const dataToSend = {
room: room,
room,
data: {}
}
const sharedObjectList = Object.keys(CALLBACK_OBJECTS)
@ -39,7 +39,7 @@ const callbackRequest = (url, timeout, data) => {
hostname: url.hostname,
port: url.port,
path: url.pathname,
timeout: timeout,
timeout,
method: 'POST',
headers: {
'Content-Type': 'application/json',