Skip to content

Commit

Permalink
fix: missing $ in sql string GetAuthenticatedUserPermissionsQueryHand…
Browse files Browse the repository at this point in the history
…ler (#319)
  • Loading branch information
jflaga authored Apr 14, 2024
1 parent c21cd3d commit c9da7af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public async Task<List<UserPermissionDto>> Handle(GetAuthenticatedUserPermission

var connection = _sqlConnectionFactory.GetOpenConnection();

const string sql = """
const string sql = $"""
SELECT [UserPermission].[PermissionCode] AS [{nameof(UserPermissionDto.Code)}]
FROM [users].[v_UserPermissions] AS [UserPermission]
WHERE [UserPermission].UserId = @UserId
Expand Down

0 comments on commit c9da7af

Please sign in to comment.