summaryrefslogtreecommitdiffstats
path: root/server/src/Endpoints/Internal/Account
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Endpoints/Internal/Account')
-rw-r--r--server/src/Endpoints/Internal/Account/GetArchiveRoute.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/Endpoints/Internal/Account/GetArchiveRoute.cs b/server/src/Endpoints/Internal/Account/GetArchiveRoute.cs
index 44f5249..951dee0 100644
--- a/server/src/Endpoints/Internal/Account/GetArchiveRoute.cs
+++ b/server/src/Endpoints/Internal/Account/GetArchiveRoute.cs
@@ -26,7 +26,7 @@ public class GetAccountArchiveRoute : RouteBaseAsync.WithoutRequest.WithActionRe
.AsNoTracking()
.Include(c => c.Labels)
.Include(c => c.Category)
- .Where(c => c.User.Id == user.Id)
+ .Where(c => c.UserId == user.Id)
.ToList();
var jsonOptions = new JsonSerializerOptions {