Fix synchronous nthen callback

pull/1/head
yflory 2019-11-19 17:55:33 +01:00
parent da32864413
commit 1e2b2a27cf
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ define([
// No version: visible edit
// Version 2: encrypted edit links
SF.checkMigration = function (secondaryKey, proxy, uo, cb) {
SF.checkMigration = function (secondaryKey, proxy, uo, _cb) {
var cb = Util.once(Util.mkAsync(_cb));
var drive = proxy.drive || proxy;
// View access: can't migrate
if (!secondaryKey) { return void cb(); }