mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-09 19:29:48 +00:00
[Bugfix] 重命名applications导致api请求content_type不对
This commit is contained in:
@@ -195,7 +195,7 @@ function APIUpdateAttr(props) {
|
||||
url: props.url,
|
||||
type: props.method || "PATCH",
|
||||
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"
|
||||
}).done(function(data, textStatue, jqXHR) {
|
||||
toastr.success(success_message);
|
||||
|
0
mac_requirements.py
Normal file
0
mac_requirements.py
Normal file
@@ -1,12 +1,12 @@
|
||||
Django==1.10
|
||||
django-bootstrap-form==3.2.1
|
||||
logging==0.4.9.6
|
||||
Pillow==3.3.1
|
||||
Pillow==4.0.0
|
||||
djangorestframework==3.5.3
|
||||
ForgeryPy==0.1
|
||||
openpyxl==2.4.0
|
||||
celery==3.1.23
|
||||
paramiko==2.0.2
|
||||
paramiko==2.1.1
|
||||
ansible==2.1.2.0
|
||||
django-simple-captcha==0.5.2
|
||||
django-formtools==1.0
|
||||
|
Reference in New Issue
Block a user