From bc239f660808519aa53a41d60aba71cb6f268ce9 Mon Sep 17 00:00:00 2001 From: krukle Date: Fri, 29 Jul 2022 10:25:23 +0200 Subject: [PATCH] fix checkstyle errors --- modules/default/calendar/calendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/default/calendar/calendar.js b/modules/default/calendar/calendar.js index bd4a9a78..aac9d5a2 100644 --- a/modules/default/calendar/calendar.js +++ b/modules/default/calendar/calendar.js @@ -135,9 +135,9 @@ Module.register("calendar", { // Override socket notification handler. socketNotificationReceived: function (notification, payload) { if (notification === "FETCH_CALENDAR") { - this.sendSocketNotification(notification, {"url": payload.url, "id": this.identifier}) + this.sendSocketNotification(notification, { url: payload.url, id: this.identifier }); } - + if (this.identifier !== payload.id) { return; }