From dbad4a9b84050071ac4675ee6a8b6187c1ea1c1c Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 20 May 2023 11:47:32 -0400 Subject: [PATCH] fix: Missing association --- server/models/Notification.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/models/Notification.ts b/server/models/Notification.ts index 67da3fec1..9c27c9907 100644 --- a/server/models/Notification.ts +++ b/server/models/Notification.ts @@ -56,6 +56,13 @@ import Fix from "./decorators/Fix"; }, ], }, + withUser: { + include: [ + { + association: "user", + }, + ], + }, })) @DefaultScope(() => ({ include: [