summaryrefslogtreecommitdiffstats
path: root/server/src/Endpoints/Internal
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-06-07 01:36:11 +0200
committerivarlovlie <git@ivarlovlie.no>2022-06-07 01:36:11 +0200
commitecdaec6f53cbaf4da2c8a3440d7a288f3497a1cb (patch)
tree651f9dd31e019f0b1d85f83a03553bb5812237cc /server/src/Endpoints/Internal
parenta8b44b09a404aee477e735501b828d1b14aad311 (diff)
downloadgreatoffice-ecdaec6f53cbaf4da2c8a3440d7a288f3497a1cb.tar.xz
greatoffice-ecdaec6f53cbaf4da2c8a3440d7a288f3497a1cb.zip
feat: Work in progress more module data models
Diffstat (limited to 'server/src/Endpoints/Internal')
-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 {