import { createAsyncThunk } from "@reduxjs/toolkit";
import axios from "axios";

export const provinceGetUsers = createAsyncThunk(
  "PROVINCE_GET_USERS",
  async () => {
    const { data, status } = await axios.get("rejected_requests");
    return { data, status };
  }
);
