2020-04-18 19:59:05 +00:00
|
|
|
import { AUTH_KEY_PENDING, AUTH_KEY_SUCCESS, AUTH_KEY_ERROR } from "../types/AuthKeyType";
|
|
|
|
|
|
|
|
export const fetchAuthKeyPending = () => ({
|
|
|
|
type: AUTH_KEY_PENDING
|
|
|
|
});
|
|
|
|
|
|
|
|
export const fetchAuthKeySuccess = (res) => ({
|
|
|
|
type: AUTH_KEY_SUCCESS,
|
|
|
|
result: res,
|
|
|
|
});
|
|
|
|
|
|
|
|
export const fetchAuthKeyError = (error) => ({
|
|
|
|
type: AUTH_KEY_ERROR,
|
|
|
|
result: error
|
2020-04-20 10:43:01 +00:00
|
|
|
});
|