mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-18 18:44:52 +08:00
[client-app] Fix runtime error in FetchFolderList
Summary: See title Test Plan: manual Reviewers: mark, halla Reviewed By: halla Differential Revision: https://phab.nylas.com/D4418
This commit is contained in:
parent
9c889c7cff
commit
d5a2afd0f6
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class FetchFolderListIMAP extends SyncTask {
|
|||
const Klass = this._classForMailboxWithRole(role, this._db);
|
||||
const existing = await Klass.findAll({where: {role: role}})
|
||||
if (existing.length > 0) {
|
||||
this.assignedRolesCache.add(role)
|
||||
assignedRolesCache.add(role)
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
|
Loading…
Add table
Reference in a new issue