aboutsummaryrefslogtreecommitdiff
path: root/src/FileRouter.ts
diff options
context:
space:
mode:
authorjw2552018-04-13 16:35:50 +0100
committerjw2552018-04-13 16:35:50 +0100
commita7567c50bbf01e3a8489d732d2825fa01921f2d3 (patch)
tree0d57b638c479a138f3b1d058152cab3b6b5cb43b /src/FileRouter.ts
parentMerge branch 'trh/gets' of https://gitlab.cs.st-andrews.ac.uk/cs3099group-be-... (diff)
downloadmedicine-a7567c50bbf01e3a8489d732d2825fa01921f2d3.tar.gz
medicine-a7567c50bbf01e3a8489d732d2825fa01921f2d3.zip

got it down to 34 errors in the protocol

Diffstat (limited to 'src/FileRouter.ts')
-rw-r--r--src/FileRouter.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FileRouter.ts b/src/FileRouter.ts
index b750094..990110a 100644
--- a/src/FileRouter.ts
+++ b/src/FileRouter.ts
@@ -639,6 +639,7 @@ export class FileRouter {
projectName: string
): Promise<void> => {
res.locals.project = await Project.findOne({
+ include: [{all: true}],
where: {
name: projectName
}