mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 18:44:01 +08:00
fix(account): Include name
This commit is contained in:
parent
e7386ff4ae
commit
cfb1356be6
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ module.exports = (sequelize, Sequelize) => {
|
|||
toJSON() {
|
||||
return {
|
||||
id: this.id,
|
||||
name: this.name,
|
||||
object: 'account',
|
||||
organization_unit: (this.provider === 'gmail') ? 'label' : 'folder',
|
||||
provider: this.provider,
|
||||
|
|
Loading…
Reference in a new issue