mirror of https://github.com/jumpserver/jumpserver
[Bugfix] 重命名applications导致api请求content_type不对
parent
be3f94d86c
commit
8658675f67
|
@ -195,7 +195,7 @@ function APIUpdateAttr(props) {
|
||||||
url: props.url,
|
url: props.url,
|
||||||
type: props.method || "PATCH",
|
type: props.method || "PATCH",
|
||||||
data: props.body,
|
data: props.body,
|
||||||
contentType: props.content_type || "applications/json; charset=utf-8",
|
contentType: props.content_type || "application/json; charset=utf-8",
|
||||||
dataType: props.data_type || "json"
|
dataType: props.data_type || "json"
|
||||||
}).done(function(data, textStatue, jqXHR) {
|
}).done(function(data, textStatue, jqXHR) {
|
||||||
toastr.success(success_message);
|
toastr.success(success_message);
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
Django==1.10
|
Django==1.10
|
||||||
django-bootstrap-form==3.2.1
|
django-bootstrap-form==3.2.1
|
||||||
logging==0.4.9.6
|
logging==0.4.9.6
|
||||||
Pillow==3.3.1
|
Pillow==4.0.0
|
||||||
djangorestframework==3.5.3
|
djangorestframework==3.5.3
|
||||||
ForgeryPy==0.1
|
ForgeryPy==0.1
|
||||||
openpyxl==2.4.0
|
openpyxl==2.4.0
|
||||||
celery==3.1.23
|
celery==3.1.23
|
||||||
paramiko==2.0.2
|
paramiko==2.1.1
|
||||||
ansible==2.1.2.0
|
ansible==2.1.2.0
|
||||||
django-simple-captcha==0.5.2
|
django-simple-captcha==0.5.2
|
||||||
django-formtools==1.0
|
django-formtools==1.0
|
||||||
|
|
Loading…
Reference in New Issue