From f2f471e9c081d94622de02a22ca2faeaf8f6647b Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Fri, 13 Apr 2018 16:45:31 +0100 Subject: Fix some tests by including users in projects --- src/FileRouter.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/FileRouter.ts b/src/FileRouter.ts index b750094..48ec9c7 100644 --- a/src/FileRouter.ts +++ b/src/FileRouter.ts @@ -639,6 +639,9 @@ export class FileRouter { projectName: string ): Promise => { res.locals.project = await Project.findOne({ + include: [ + User + ], where: { name: projectName } -- cgit v1.2.1