mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 17:23:21 +03:00
19 lines
342 B
JavaScript
19 lines
342 B
JavaScript
|
|
import EntryActionTypes from '../constants/EntryActionTypes';
|
||
|
|
|
||
|
|
const authenticate = (data) => ({
|
||
|
|
type: EntryActionTypes.AUTHENTICATE,
|
||
|
|
payload: {
|
||
|
|
data,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
|
||
|
|
const clearAuthenticateError = () => ({
|
||
|
|
type: EntryActionTypes.AUTHENTICATE_ERROR_CLEAR,
|
||
|
|
payload: {},
|
||
|
|
});
|
||
|
|
|
||
|
|
export default {
|
||
|
|
authenticate,
|
||
|
|
clearAuthenticateError,
|
||
|
|
};
|