diff options
Diffstat (limited to 'lib/documents.js')
| -rw-r--r-- | lib/documents.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/documents.js b/lib/documents.js index 5ec8aaf..78bea1a 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -88,7 +88,7 @@ function NoteReference(options) { function Notes(notes) { this._notes = _.indexBy(notes, function(note) { - return noteKey(note.noteType, note.id); + return noteKey(note.noteType, note.noteId); }); } @@ -104,7 +104,7 @@ function Note(options) { return { type: types.note, noteType: options.noteType, - id: options.id, + noteId: options.noteId, body: options.body }; } |
