mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
18 lines
342 B
JavaScript
Executable file
18 lines
342 B
JavaScript
Executable file
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,
|
|
};
|