15 lines
366 B
JavaScript
15 lines
366 B
JavaScript
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
|
|
});
|