aboutsummaryrefslogtreecommitdiff
path: root/src/app.ts
diff options
context:
space:
mode:
authorjw2552018-04-10 23:30:51 +0100
committerjw2552018-04-10 23:30:51 +0100
commitf7220be4e1b80cdba0fbaf41f7382cbf18561e2b (patch)
treeefb137a8db4649798e9eae7ad9de4cae2f9b3429 /src/app.ts
parentprogress on testing (diff)
downloadmedicine-f7220be4e1b80cdba0fbaf41f7382cbf18561e2b.tar.gz
medicine-f7220be4e1b80cdba0fbaf41f7382cbf18561e2b.zip

sth works maybe

Diffstat (limited to 'src/app.ts')
-rw-r--r--src/app.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.ts b/src/app.ts
index 91b8f95..1378177 100644
--- a/src/app.ts
+++ b/src/app.ts
@@ -161,6 +161,7 @@ class App {
req: ex.Request, res: ex.Response, next: ex.NextFunction,
project: string
): Promise<void> => {
+ console.log("## as " + project)
res.locals.project = await Project.findOne({
where: {
name: project