From e3fab5380690b955db7408f32b98b97f46497034 Mon Sep 17 00:00:00 2001 From: mayjs Date: Tue, 16 May 2017 17:35:14 +0200 Subject: [PATCH] Fixed a typo.. --- models/boards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/boards.js b/models/boards.js index 5908dee9a..8a7844e2f 100644 --- a/models/boards.js +++ b/models/boards.js @@ -556,7 +556,7 @@ if (Meteor.isServer) { //BOARDS REST API if (Meteor.isServer) { - JsonRoutes.add('GET', '/api/user/:userId/boards', function (req, res, next) { + JsonRoutes.add('GET', '/api/users/:userId/boards', function (req, res, next) { Authentication.checkLoggedIn(req.userId); const paramUserId = req.params.userId; // A normal user should be able to see their own boards,