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);
|
||||
|
Reference in New Issue
Block a user