diff --git a/services/sync/modules/base_records/crypto.js b/services/sync/modules/base_records/crypto.js index 4ddb1d0b6401..a530d3704a2c 100644 --- a/services/sync/modules/base_records/crypto.js +++ b/services/sync/modules/base_records/crypto.js @@ -196,7 +196,7 @@ CryptoMeta.prototype = { // get the new public key if (typeof new_pubkey == 'string') - new_pubkey = PubKeys.get(self.cb, new_pubkey); + new_pubkey = yield PubKeys.get(self.cb, new_pubkey); // each hash key is a relative uri, resolve those and // if we find the one we're about to add, remove it