Skip to content

Commit

Permalink
Update CreateFeedbackCommandHandler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
PhucNghi176 authored Oct 24, 2024
1 parent 3f41462 commit 62dfde9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using MBS_COMMAND.Contract.Abstractions.Messages;
using MBS_COMMAND.Contract.Abstractions.Messages;
using MBS_COMMAND.Contract.Abstractions.Shared;
using MBS_COMMAND.Contract.Services.Feedbacks;
using MBS_COMMAND.Domain.Abstractions;
Expand All @@ -21,7 +21,7 @@ public CreateFeedbackCommandHandler(IRepositoryBase<Feedback, Guid> feedbackRepo

public async Task<Result> Handle(Command.CreateFeedback request, CancellationToken cancellationToken)
{
var role = _currentUserService.Role == "2";
var role = _currentUserService.Role == "1";
var feedback = new Feedback
{
Content = request.Content,
Expand Down

0 comments on commit 62dfde9

Please sign in to comment.