Skip to content

Commit

Permalink
Merge pull request #20 from nss-evening-cohort-04/boardc
Browse files Browse the repository at this point in the history
fixed grunt error
  • Loading branch information
jduttondesign authored Dec 3, 2016
2 parents 0ac6200 + c55bb82 commit 913c63f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions javascripts/factories/BoardFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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};
});

0 comments on commit 913c63f

Please sign in to comment.