diff -r 6fb4de54acea -r 48ddaa42b810 client/src/actions/notesActions.js --- a/client/src/actions/notesActions.js Wed May 31 17:28:12 2017 +0200 +++ b/client/src/actions/notesActions.js Wed May 31 17:51:54 2017 +0200 @@ -2,12 +2,13 @@ import * as types from '../constants/actionTypes'; -export const addNote = (noteText) => { +export const addNote = (session, text) => { return { type: types.ADD_NOTE, note: { id: uuidV1(), - text: noteText + session: session.id, + text: text, } }; }