Skip to content
Snippets Groups Projects
Commit eda28fff authored by Anton Georgiev's avatar Anton Georgiev
Browse files

refrain from logging on several lines

parent 7e04ba31
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,8 @@ export default function userResponded({ body }) {
return Logger.error(`Updating Poll responses: ${err}`);
}
return Logger.info(`Updating Poll response (userId: ${userId},
response: ${answerId},
pollId: ${pollId})`);
return Logger.info(`Updating Poll response (userId: ${userId},`
+ `response: ${answerId}, pollId: ${pollId})`);
};
return Polls.update(selector, modifier, cb);
......
......@@ -51,8 +51,8 @@ export default function publishVote(credentials, id, pollAnswerId) { // TODO dis
return Logger.error(`Updating Polls collection: ${err}`);
}
return Logger.info(`Updating Polls collection (meetingId: ${meetingId},
pollId: ${currentPoll.id}!)`);
return Logger.info(`Updating Polls collection (meetingId: ${meetingId}, `
+ `pollId: ${currentPoll.id}!)`);
};
Polls.update(selector, modifier, cb);
......
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