interim commit
This commit is contained in:
parent
d062fa0e6f
commit
8d721a88c7
20 changed files with 17329 additions and 152 deletions
8
frontend/src/axios/Config/PatchConfig.js
Normal file
8
frontend/src/axios/Config/PatchConfig.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import axios from 'axios';
|
||||
import GetConfigs from './GetConfigs';
|
||||
|
||||
export default (id, data) => axios.patch(`/api/configs/${id}`, data)
|
||||
.then((resp) => {
|
||||
GetConfigs();
|
||||
return resp.data;
|
||||
});
|
||||
Loading…
Reference in a new issue