Commit c32911b8 authored by marioromera's avatar marioromera
Browse files

publish stated etherpad to poc hardcoded

parent 45854b8b
......@@ -27,7 +27,7 @@ publisher.on('connect', () => {
console.log('Redis connection succesfull');
publisher.publish(
'pad:' + this.id,
'pad:' + 'poc',
JSON.stringify({ message: 'etherpad-connected' })
);
});
......
......@@ -159,7 +159,7 @@ async function saveRevision() {
);
const etherpadJson = await response.json();
if (etherpadJson.messsage !== 'ok') {
if (etherpadJson.message !== 'ok') {
logger.error('Revision not saved, error', etherpadJson.message);
logger.error('Api key used', etherpadApiKey);
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment