From 052740a5629a01b4c02a894a2627c55492fffd1c Mon Sep 17 00:00:00 2001 From: Simen Rekkedal <61084786+simen-rekkedal@users.noreply.github.com> Date: Thu, 9 Nov 2023 13:30:43 +0100 Subject: [PATCH] fix --- src/Authentication/Services/SystemUserService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Authentication/Services/SystemUserService.cs b/src/Authentication/Services/SystemUserService.cs index 30fb4de3..0b69f897 100644 --- a/src/Authentication/Services/SystemUserService.cs +++ b/src/Authentication/Services/SystemUserService.cs @@ -33,7 +33,7 @@ public Task CreateSystemUser(SystemUser request) { if (int.Parse(request.OwnedByPartyId) < 1) { - return null; + return Task.FromResult(null); } theMockList.Add(request); @@ -48,7 +48,7 @@ public Task> GetListOfSystemUsersPartyHas(int partyId) { if (partyId < 1) { - return null; + return Task.FromResult>(null); } return Task.FromResult(theMockList);