Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
simen-rekkedal committed Nov 9, 2023
1 parent 5905c72 commit 052740a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Authentication/Services/SystemUserService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Task<SystemUser> CreateSystemUser(SystemUser request)
{
if (int.Parse(request.OwnedByPartyId) < 1)
{
return null;
return Task.FromResult<SystemUser>(null);
}

theMockList.Add(request);
Expand All @@ -48,7 +48,7 @@ public Task<List<SystemUser>> GetListOfSystemUsersPartyHas(int partyId)
{
if (partyId < 1)
{
return null;
return Task.FromResult<List<SystemUser>>(null);
}

return Task.FromResult(theMockList);
Expand Down

0 comments on commit 052740a

Please sign in to comment.