Merge branch 'feature/debug_datatable' into 'develop'

debug confirm datatable

See merge request witel3/loan-facilities-expert!28
This commit is contained in:
yasaman aliakbari
2023-07-16 07:29:01 +00:00

View File

@@ -46,7 +46,7 @@ const useDataTable = () => {
const confirmData = useCallback(async (url, rowID) => {
dispatch({ type: "CONFIRM_DATA", url: url, rowID: rowID });
axios
.post(`${url}/${rowID}`, {
.post(`${url}/${rowID}`, null, {
headers: { authorization: `Bearer ${token}` },
})
.then(() => {