| author | Alexandre Segura <mex.zktk@gmail.com> |
| Thu, 01 Jun 2017 18:46:34 +0200 | |
| changeset 17 | 877d8796b86d |
| parent 16 | e67cd18cc594 |
| child 26 | 930e486ad0a8 |
| permissions | -rw-r--r-- |
import uuidV1 from 'uuid/v1'; import * as types from '../constants/actionTypes'; export const addNote = (session, data) => { return { type: types.ADD_NOTE, note: { id: uuidV1(), session: session.id, raw: data.raw, plain: data.plain, html: data.html, startedAt: data.startedAt, finishedAt: data.finishedAt } }; }