We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7158a9 commit b23dee8Copy full SHA for b23dee8
1 file changed
MMM-CalendarExt2.js
@@ -21,8 +21,7 @@ Module.register("MMM-CalendarExt2", {
21
payload: null
22
},
23
CALEXT2_SCENE_CHANGE: {
24
- // eslint-disable-next-line no-unused-vars
25
- exec: (payload, sender) => {
+ exec: (payload) => {
26
if (payload.type && payload.type === "id") {
27
return "changeSceneById";
28
}
@@ -31,13 +30,11 @@ Module.register("MMM-CalendarExt2", {
31
30
32
return null;
33
34
35
- payload: (payload, sender) => (payload.key ? payload.key : null)
+ payload: (payload) => (payload.key ? payload.key : null)
36
37
CALEXT2_EVENT_QUERY: {
38
exec: "eventQuery",
39
40
- payload: (payload, sender) => payload
+ payload: (payload) => payload
41
42
43
defaultSet: {
0 commit comments