mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05: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
5d7ca080c9
commit
bf0a20c1e8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue