Skip to content

Commit

Permalink
Add updateList method.
Browse files Browse the repository at this point in the history
  • Loading branch information
sustained committed Feb 26, 2019
1 parent 2af3dcf commit 7cbb018
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/services/CelloService.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ export default {

if (embed.length) url += "?" + embed.map(i => `_embed=${i}`).join("&");

console.log(url);

return api.get(url);
},

Expand Down Expand Up @@ -48,5 +46,9 @@ export default {

createBoard(params) {
return api.post(`/boards`, params);
},

updateList(id, params) {
return api.patch(`/lists/${id}`, params);
}
};

0 comments on commit 7cbb018

Please sign in to comment.