Skip to content

Commit

Permalink
fix(device): [PM-2996] Devices with Auth Request - Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick-Pimentel-Bitwarden committed Jan 2, 2025
1 parent 2ad97af commit 474bdee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Core/Auth/Models/Data/DeviceAuthDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public DeviceAuthDetails(
AuthRequestCreatedAt = authRequestCreationDate;
}


/**
* Constructor for dapper response.
* Note: if the authRequestId or authRequestCreationDate is null it comes back as
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BEGIN
SELECT
D.*,
AR.Id as AuthRequestId,
AR.CreationDate as AuthRequestCreationDa
AR.CreationDate as AuthRequestCreationDate
FROM dbo.DeviceView D
LEFT JOIN (
SELECT TOP 1 -- Take only the top record sorted by auth request creation date
Expand Down

0 comments on commit 474bdee

Please sign in to comment.