push rasad front on new repo
This commit is contained in:
10
src/features/aviculture/services/aviculture-get-profile.js
Normal file
10
src/features/aviculture/services/aviculture-get-profile.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { createAsyncThunk } from "@reduxjs/toolkit";
|
||||
import axios from "axios";
|
||||
|
||||
export const avicultureGetProfile = createAsyncThunk(
|
||||
"AVICULTURE_GET_PROFILE",
|
||||
async (d, { dispatch }) => {
|
||||
const { data, status } = await axios.get("Poultry/0/?profile", d);
|
||||
return { data, status };
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user