don't let function access this

This commit is contained in:
Henry Jameson 2022-08-08 02:18:29 +03:00
parent 502d76ebcd
commit 95f03a56ab

View File

@ -140,7 +140,7 @@ export const _doMigrations = (cache) => {
if (window._PLEROMA_HOTPATCH) {
if (window._PLEROMA_HOTPATCH.reverseMigrations) {
console.debug('Found hotpatch migration, applying')
return window._PLEROMA_HOTPATCH.reverseMigrations('serverSideStorage', { from: cache._version, to: VERSION }, cache)
return window._PLEROMA_HOTPATCH.reverseMigrations.call({}, 'serverSideStorage', { from: cache._version, to: VERSION }, cache)
}
}
}