Skip to content

Commit

Permalink
FIX: Restoring backup via UI was broken (#12089)
Browse files Browse the repository at this point in the history
  • Loading branch information
gschlager committed Feb 15, 2021
1 parent c5d0a33 commit 4b05fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backup_restore/restorer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Restorer

attr_reader :success

def initialize(user_id:, filename:, factory:, disable_emails: true, location:)
def initialize(user_id:, filename:, factory:, disable_emails: true, location: nil)
@user_id = user_id
@filename = filename
@factory = factory
Expand Down

1 comment on commit 4b05fc2

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/restore-backup-is-broken/179514/4

Please sign in to comment.