mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
fix session data loading in settings/labs
closes #5973 - updating session data loading to new esa 1.0 api
This commit is contained in:
parent
917f1b32f5
commit
562c48fb4d
@ -70,7 +70,7 @@ export default Ember.Controller.extend({
|
||||
exportData: function () {
|
||||
var iframe = $('#iframeDownload'),
|
||||
downloadURL = this.get('ghostPaths.url').api('db') +
|
||||
'?access_token=' + this.get('session.secure.access_token');
|
||||
'?access_token=' + this.get('session.data.authenticated.access_token');
|
||||
|
||||
if (iframe.length === 0) {
|
||||
iframe = $('<iframe>', {id: 'iframeDownload'}).hide().appendTo('body');
|
||||
|
Loading…
Reference in New Issue
Block a user