simba-mobile-cad3/app/redux/actions/AuthKeyActions.js

15 lines
366 B
JavaScript
Raw Normal View History

2025-01-07 09:47:45 +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
});