push rasad front on new repo
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { createAsyncThunk } from "@reduxjs/toolkit";
|
||||
import axios from "axios";
|
||||
|
||||
export const avicultureDeleteHatching = createAsyncThunk(
|
||||
"AVICULTURE_DELETE_HATCHING",
|
||||
async (key) => {
|
||||
const { data, status } = await axios.delete(
|
||||
"poultry_hatching/0/?key=" + key
|
||||
);
|
||||
return { data, status };
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user