Skip to content

Commit

Permalink
Fix default importer path (#13045)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego authored and rodrigok committed Dec 28, 2018
1 parent 27e5318 commit 466e59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-importer/server/startup/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export let RocketChatImportFileInstance;
Meteor.startup(function() {
const RocketChatStore = RocketChatFile.FileSystem;

let path = '~/uploads';
let path = '/tmp/rocketchat-importer';
if (RocketChat.settings.get('ImportFile_FileSystemPath') != null) {
if (RocketChat.settings.get('ImportFile_FileSystemPath').trim() !== '') {
path = RocketChat.settings.get('ImportFile_FileSystemPath');
Expand Down

0 comments on commit 466e59b

Please sign in to comment.