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:
@@ -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
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user