Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that all imported notes are sent to the server #986

Merged
merged 10 commits into from
Nov 6, 2018
Prev Previous commit
Next Next commit
Increase max file size for SimplenoteImporter
  • Loading branch information
mirka committed Nov 6, 2018
commit 15cbbd231135df4479768a66f15141f2f8f9fad3
6 changes: 3 additions & 3 deletions lib/utils/import/simplenote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class SimplenoteImporter extends EventEmitter {
return;
}

// Limit file size we will read to 1mb
if (file.size > 1000000) {
this.emit('status', 'error', 'File should be less than 1 MB.');
// Limit file size we will read to 5mb
if (file.size > 5000000) {
this.emit('status', 'error', 'File should be less than 5 MB.');
return;
}

Expand Down