fix typo yield vs yield*
parent
db62cbbbeb
commit
5942a379f9
|
@ -96,7 +96,7 @@ Syncer.prototype.idleVanish = function(accountId, uids)
|
||||||
var self = this;
|
var self = this;
|
||||||
gen.run(function*()
|
gen.run(function*()
|
||||||
{
|
{
|
||||||
let [ boxId ] = yield* self.pg.select('id').from('folders')
|
let [ boxId ] = yield self.pg.select('id').from('folders')
|
||||||
.where({ name: 'INBOX', account_id: accountId }).val(gen.ef());
|
.where({ name: 'INBOX', account_id: accountId }).val(gen.ef());
|
||||||
yield* self.deleteVanished(boxId, uids);
|
yield* self.deleteVanished(boxId, uids);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue