s/session_id/id

This commit is contained in:
MinRK 2013-10-17 22:21:10 -07:00
parent 0558ec4ce0
commit aea1bbde6a

View File

@ -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);
};