This commit is contained in:
Veljko Tosic
2026-02-11 22:53:22 +01:00
parent 1c7a12a01c
commit 3f349543d6
5 changed files with 6 additions and 11 deletions

View File

@@ -57,8 +57,8 @@ public class WhiteboardMembershipRepository
{
var whiteboardMembership = await Context.WhiteboardMemberships
.FirstOrDefaultAsync((entity) =>
entity.WhiteboardId.ToString() == whiteboardId.ToString() &&
entity.UserId.ToString() == userId.ToString(),
entity.WhiteboardId.ToString() == whiteboardId.IdValue &&
entity.UserId.ToString() == userId.IdValue,
cancellationToken);
if (whiteboardMembership is null) return null;

View File

@@ -7,7 +7,7 @@ public class UserContext : IUserContext
{
public UserId GetCurrentUserId()
{
return new UserId(new Guid("156b58b0-d0f1-4498-b2b6-afa536b68b1a").ToString());
return new UserId(new Guid("52a1810c-802f-48b0-a74c-7b517807e392").ToString());
}
}