Skip to content

Commit

Permalink
Fix - Correction de la création d'une consigne
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmugnier committed Feb 12, 2021
1 parent 0256998 commit f17c9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sheaft.GraphQL/SheaftMutation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ public async Task<IQueryable<ReturnableDto>> CreateReturnableAsync(CreateReturna
SetLogTransaction(nameof(CreateReturnableAsync));
var result =
await ExecuteCommandAsync<CreateReturnableCommand, Guid>(
_mapper.Map(input, new CreateReturnableCommand(CurrentUser)), Token);
_mapper.Map(input, new CreateReturnableCommand(CurrentUser){UserId = CurrentUser.Id}), Token);
return returnableQueries.GetReturnable(result, CurrentUser);
}

Expand Down

0 comments on commit f17c9f2

Please sign in to comment.