From c55bb82dc3396ada03bd168ee5c597d351e66fd9 Mon Sep 17 00:00:00 2001 From: Jennifer Dutton Date: Fri, 2 Dec 2016 22:19:31 -0600 Subject: [PATCH] fixed grunt error --- javascripts/factories/BoardFactory.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/javascripts/factories/BoardFactory.js b/javascripts/factories/BoardFactory.js index 222b90c..fe37847 100644 --- a/javascripts/factories/BoardFactory.js +++ b/javascripts/factories/BoardFactory.js @@ -62,7 +62,6 @@ var getSingleBoard = function(boardId){ }; var editBoard = function(editBoard){ - console.log("factory edit", editBoard); return $q((resolve, reject)=>{ $http.put(`${FIREBASE_CONFIG.databaseURL}/boards/${editBoard.id}.json`, JSON.stringify({ @@ -82,8 +81,6 @@ var getSingleBoard = function(boardId){ }; - return {getBoardView:getBoardView, - postNewBoard:postNewBoard, deleteBoard:deleteBoard, - getSingleBoard:getSingleBoard, editBoard:editBoard}; + return {getBoardList:getBoardList, postNewBoard:postNewBoard, deleteBoard:deleteBoard, getSingleBoard:getSingleBoard, editBoard:editBoard}; });