1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

fix using wrong method name

This commit is contained in:
Dick Choi
2016-09-10 15:56:50 +09:00
parent 960469f07c
commit 0646c4f8bd

View File

@@ -96,7 +96,7 @@ class InitModal extends React.Component {
}) })
.then((data) => { .then((data) => {
if (this.state.migrationRequested && _.isObject(this.state.data) && _.isArray(this.state.data.folders) && _.isArray(this.state.data.articles)) { if (this.state.migrationRequested && _.isObject(this.state.data) && _.isArray(this.state.data.folders) && _.isArray(this.state.data.articles)) {
return dataApi.migrateFromV5(data.storage.key, this.state.data) return dataApi.migrateFromV5Storage(data.storage.key, this.state.data)
} }
return data return data
}) })