diff --git a/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeCommand.cs b/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeCommand.cs index 2c1367cb..52bcfeb3 100644 --- a/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeCommand.cs +++ b/EnvelopeGenerator.Application/Envelopes/Commands/CreateEnvelopeCommand.cs @@ -40,10 +40,10 @@ public record CreateEnvelopeCommand : IRequest /// /// /// - public bool Authorize(int userId) + public CreateEnvelopeCommand WithAuth(int userId) { UserId = userId; - return true; + return this; } ///