diff --git a/public_html/js/Presenters/PostNotesPresenter.js b/public_html/js/Presenters/PostNotesPresenter.js index 41660f3e..b19e191b 100644 --- a/public_html/js/Presenters/PostNotesPresenter.js +++ b/public_html/js/Presenters/PostNotesPresenter.js @@ -125,7 +125,7 @@ App.Presenters.PostNotesPresenter = function( promise.wait(p) .then(function(response) { hideForm(); - postNote.id = response.json.id; + postNote.id = response.json.note.id; postNote.$element.data('postNote', postNote); render(); }).fail(function(response) {