mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
s/session_id/id
This commit is contained in:
parent
0558ec4ce0
commit
aea1bbde6a
@ -64,7 +64,7 @@ var IPython = (function (IPython) {
|
||||
data: JSON.stringify(model),
|
||||
dataType : "json",
|
||||
};
|
||||
var url = utils.url_path_join(this._baseProjectUrl, 'api/sessions', this.session_id);
|
||||
var url = utils.url_path_join(this._baseProjectUrl, 'api/sessions', this.id);
|
||||
$.ajax(url, settings);
|
||||
};
|
||||
|
||||
@ -75,7 +75,7 @@ var IPython = (function (IPython) {
|
||||
type : "DELETE",
|
||||
dataType : "json",
|
||||
};
|
||||
var url = utils.url_path_join(this._baseProjectUrl, 'api/sessions', this.session_id);
|
||||
var url = utils.url_path_join(this._baseProjectUrl, 'api/sessions', this.id);
|
||||
$.ajax(url, settings);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user