Incorrect data structure exposed to the push notification handler
authorAlexander Ebert <ebert@woltlab.com>
Thu, 13 Feb 2020 15:19:52 +0000 (16:19 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 13 Feb 2020 15:19:52 +0000 (16:19 +0100)
wcfsetup/install/files/js/WoltLabSuite/Core/Notification/Handler.js

index 4840137293c950cd96e203d605dbb6662ce346d9..872c27586b228c15dbc3a2ebace3b385932ec9f9 100644 (file)
@@ -185,7 +185,7 @@ define(['Ajax', 'Core', 'EventHandler', 'StringUtil'], function(Ajax, Core, Even
                        var pollData = data.returnValues.pollData;
                        
                        // forward keep alive data
-                       window.WCF.System.PushNotification.executeCallbacks(keepAliveData);
+                       window.WCF.System.PushNotification.executeCallbacks({returnValues: keepAliveData});
                        
                        // store response data in local storage
                        try {