Skip to content

Commit

Permalink
Merge pull request #5320 from jaswilli/fixup-export-link
Browse files Browse the repository at this point in the history
Fix export db link and access token parameter
  • Loading branch information
ErisDS committed May 24, 2015
2 parents 7190e1d + 3e6a2fb commit ca8e1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/client/app/controllers/settings/labs.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var LabsController = Ember.Controller.extend(Ember.Evented, {
exportData: function () {
var iframe = $('#iframeDownload'),
downloadURL = this.get('ghostPaths.url').api('db') +
'?access_token=' + this.get('session.access_token');
'?access_token=' + this.get('session.secure.access_token');

if (iframe.length === 0) {
iframe = $('<iframe>', {id: 'iframeDownload'}).hide().appendTo('body');
Expand Down

0 comments on commit ca8e1b9

Please sign in to comment.