implement fix

This commit is contained in:
2026-02-11 21:10:33 +01:00
parent 802d8d26be
commit 4d85175fe1
5 changed files with 18 additions and 18 deletions

View File

@@ -8,9 +8,6 @@ namespace AipsCore.Application.Models.Whiteboard.Command.CreateWhiteboard;
public record CreateWhiteboardCommand(
string OwnerId,
string Title,
DateTime CreatedAt,
DateTime DeletedAt,
int MaxParticipants,
WhiteboardJoinPolicy JoinPolicy,
WhiteboardState State)
WhiteboardJoinPolicy JoinPolicy)
: ICommand<WhiteboardId>;

View File

@@ -24,11 +24,8 @@ public class CreateWhiteboardCommandHandler : ICommandHandler<CreateWhiteboardCo
command.OwnerId,
whiteboardCode.CodeValue,
command.Title,
command.CreatedAt,
command.DeletedAt,
command.MaxParticipants,
command.JoinPolicy,
command.State);
command.JoinPolicy);
await _whiteboardRepository.SaveAsync(whiteboard, cancellationToken);
await _unitOfWork.SaveChangesAsync(cancellationToken);