client/src/actions/syncActions.js
changeset 129 d48946d164c6
child 130 78246db1cbac
equal deleted inserted replaced
128:34a75bd8d0b9 129:d48946d164c6
       
     1 import * as types from '../constants/actionTypes';
       
     2 
       
     3 export const updateLastSync = (timestamp) => {
       
     4   return {
       
     5     type: types.SYNC_SET_LAST_SYNC,
       
     6     value: timestamp
       
     7   }
       
     8 }
       
     9 
       
    10 export const endSynchronize = () => {
       
    11   return {
       
    12     type: types.SYNC_END_SYNC
       
    13   }
       
    14 }