소스 검색

Fixed a typo..

mayjs 8 년 전
부모
커밋
e3fab53806
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      models/boards.js

+ 1 - 1
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,