Skip to content

Commit 5ed55ed

Browse files
authored
chore: Remove ReadAt (#528)
Some old ReadAts left behind
1 parent 94aa65c commit 5ed55ed

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/Dialogs/Queries/Get/GetDialogDto.cs

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public sealed class GetDialogDto
2323
public DateTimeOffset? ExpiresAt { get; set; }
2424
public DateTimeOffset CreatedAt { get; set; }
2525
public DateTimeOffset UpdatedAt { get; set; }
26-
public DateTimeOffset? ReadAt { get; set; }
2726

2827
public DialogStatus.Values Status { get; set; }
2928

src/Digdir.Domain.Dialogporten.Application/Features/V1/EndUser/Dialogs/Queries/Get/GetDialogQuery.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ public async Task<GetDialogResult> Handle(GetDialogQuery request, CancellationTo
103103

104104
saveResult.Switch(
105105
success => { },
106-
domainError => throw new UnreachableException("Should not get domain error when updating ReadAt."),
107-
concurrencyError => throw new UnreachableException("Should not get concurrencyError when updating ReadAt."));
106+
domainError => throw new UnreachableException("Should not get domain error when updating SeenAt."),
107+
concurrencyError => throw new UnreachableException("Should not get concurrencyError when updating SeenAt."));
108108

109109
// hash end user ids
110110
var salt = MappingUtils.GetHashSalt();

src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Queries/Get/GetDialogDto.cs

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public sealed class GetDialogDto
2424
public DateTimeOffset? ExpiresAt { get; set; }
2525
public DateTimeOffset CreatedAt { get; set; }
2626
public DateTimeOffset UpdatedAt { get; set; }
27-
public DateTimeOffset? ReadAt { get; set; }
2827

2928
public DialogStatus.Values Status { get; set; }
3029

0 commit comments

Comments
 (0)