aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/routes/getSchedule.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/routes/getSchedule.js b/src/server/routes/getSchedule.js
index 1c6f1a3..f1120b7 100644
--- a/src/server/routes/getSchedule.js
+++ b/src/server/routes/getSchedule.js
@@ -51,7 +51,7 @@ router.get('/:type/:value', (req, res, next) => {
users.filter(user_ => user_.type === type && user_.value === value)[0];
if (!user) {
- next(new Error(`${type}${value} is not in the user index.`));
+ next(new Error(`${type}/${value} is not in the user index.`));
}
if (!week) {