From 5232762c0d994bd3fc3968e91930ab851693f1dc Mon Sep 17 00:00:00 2001 From: Jim Spillane Date: Tue, 14 Apr 2020 21:51:22 -0400 Subject: [PATCH] Fix Notifications parameters Removed space causing siteid to always send null. --- Oqtane.Client/Services/NotificationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Client/Services/NotificationService.cs b/Oqtane.Client/Services/NotificationService.cs index 6239ca8a..46b813b6 100644 --- a/Oqtane.Client/Services/NotificationService.cs +++ b/Oqtane.Client/Services/NotificationService.cs @@ -28,7 +28,7 @@ namespace Oqtane.Services public async Task> GetNotificationsAsync(int siteId, string direction, int userId) { - var notifications = await _http.GetJsonAsync>($"{Apiurl}? siteid={siteId.ToString()}&direction={direction.ToLower()}&userid={userId.ToString()}"); + var notifications = await _http.GetJsonAsync>($"{Apiurl}?siteid={siteId.ToString()}&direction={direction.ToLower()}&userid={userId.ToString()}"); return notifications.OrderByDescending(item => item.CreatedOn).ToList(); }