mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-12 16:04:35 +08:00
fix(json-blob): ClientIds on JSONBlob should just be key
This commit is contained in:
parent
d3766c1990
commit
45d897ce0a
1 changed files with 7 additions and 3 deletions
|
@ -21,8 +21,12 @@ class JSONBlob extends Model
|
|||
modelKey: 'json'
|
||||
jsonKey: 'json'
|
||||
|
||||
Object.defineProperty @prototype, "key",
|
||||
get: -> @id
|
||||
set: (val) -> @id = val
|
||||
Object.defineProperty @prototype, 'key',
|
||||
get: -> @serverId
|
||||
set: (val) -> @serverId = val
|
||||
|
||||
Object.defineProperty @prototype, 'clientId',
|
||||
get: -> @serverId
|
||||
set: (val) -> @serverId = val
|
||||
|
||||
module.exports = JSONBlob
|
||||
|
|
Loading…
Reference in a new issue