forked from Gitlink/forgeplus-react
更改请求方法
This commit is contained in:
parent
4d9aed91d6
commit
3e0f54014d
|
|
@ -165,7 +165,7 @@ class Setting extends Component {
|
|||
const { private_check , project_units } = this.state;
|
||||
const {project_language_id, project_category_id, pr_view_admin} = values;
|
||||
const url = `/${owner}/${projectsId}.json`;
|
||||
axios.put(url, {
|
||||
axios.patch(url, {
|
||||
name: values.project_name,
|
||||
description: values.project_description,
|
||||
private: private_check,
|
||||
|
|
|
|||
Loading…
Reference in New Issue