Skip to content

Commit

Permalink
updated for new api response
Browse files Browse the repository at this point in the history
Signed-off-by: buckie <[email protected]>
  • Loading branch information
buckie committed Feb 14, 2017
1 parent 1359b30 commit 5e054f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

// we're keeping this todomvc simple and having the app update its todos fully every time
updateTodos: function(resp) {
var allTodos = resp.response.data.map(this.convertEntry).sort(function(a,b){
var allTodos = resp.response.result.data.map(this.convertEntry).sort(function(a,b){
if (a.id < b.id) {
return -1;
} else if (a.id > b.id) {
Expand Down
2 changes: 2 additions & 0 deletions server.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
port: 9001
logDir: log
persistDir: log
pragmas: []
verbose: true

0 comments on commit 5e054f8

Please sign in to comment.