From 079df4a8b714401fdb2ab5ecd2def5e829d5fd19 Mon Sep 17 00:00:00 2001 From: Marc Goodson Date: Fri, 2 Jun 2017 21:02:46 +0100 Subject: [PATCH] Pass logType and SinceDate as an array of key value pairs and not an array of a single dictionary - the logapi was never meant to be able to receive a dictionary... see comments on http://issues.umbraco.org/issue/U4-9489 for details --- .../src/common/resources/log.resource.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/resources/log.resource.js b/src/Umbraco.Web.UI.Client/src/common/resources/log.resource.js index d74c7d82ac..a5e8149952 100644 --- a/src/Umbraco.Web.UI.Client/src/common/resources/log.resource.js +++ b/src/Umbraco.Web.UI.Client/src/common/resources/log.resource.js @@ -67,7 +67,7 @@ function logResource($q, $http, umbRequestHelper) { umbRequestHelper.getApiUrl( "logApiBaseUrl", "GetCurrentUserLog", - [{ logtype: type, sinceDate: since }])), + [{ logtype: type}, {sinceDate: since }])), 'Failed to retrieve log data for current user of type ' + type + ' since ' + since); }, @@ -98,7 +98,7 @@ function logResource($q, $http, umbRequestHelper) { umbRequestHelper.getApiUrl( "logApiBaseUrl", "GetLog", - [{ logtype: type, sinceDate: since }])), + [{ logtype: type}, {sinceDate: since }])), 'Failed to retrieve log data of type ' + type + ' since ' + since); } };