Skip to content

Commit 9a0f249

Browse files
committed
Add missinga attendance db cast
1 parent ca0ea2d commit 9a0f249

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LarpakeServer/Data/PostgreSQL/AttendanceDatabase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public async Task<Result<AttendedCreated>> CompletedKeyed(KeyedCompletionMetadat
275275
using var transaction = await connection.BeginTransactionAsync();
276276

277277
// Get attendance, Note that signer cannot get attendance with same userId as signerId
278-
Attendance? attendance = await connection.QueryFirstOrDefaultAsync($"""
278+
Attendance? attendance = await connection.QueryFirstOrDefaultAsync<Attendance>($"""
279279
UPDATE attendances
280280
SET
281281
key_invalid_at = NOW(),

0 commit comments

Comments
 (0)