client/src/actions/notesActions.js
changeset 62 b2514a9bcd49
parent 59 1eb52770eefa
child 66 f402435be429
--- a/client/src/actions/notesActions.js	Tue Jun 20 12:11:57 2017 +0200
+++ b/client/src/actions/notesActions.js	Tue Jun 20 14:13:15 2017 +0200
@@ -4,7 +4,7 @@
 
 export const addNote = (session, data) => {
   return {
-    type: types.ADD_NOTE_ASYNC,
+    type: types.ADD_NOTE,
     note: {
       _id: uuidV1(),
       session: session._id,
@@ -20,7 +20,7 @@
 
 export const loadNotesBySession = (session) => {
   return {
-    type: types.LOAD_NOTES_BY_SESSION_ASYNC,
+    type: types.LOAD_NOTES_BY_SESSION,
     session: session
   }
 }