mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Cleanup request Folders response
This commit is contained in:
parent
e27fb46500
commit
7afbc05d18
7 changed files with 78 additions and 135 deletions
|
|
@ -25,7 +25,6 @@ export class AbstractCollectionModel extends Array
|
|||
if (json) {
|
||||
if ('Collection/'+this.name.replace('Model', '') === json['@Object']) {
|
||||
Object.entries(json).forEach(([key, value]) => '@' !== key[0] && (result[key] = value));
|
||||
// json[@Count]
|
||||
json = json['@Collection'];
|
||||
}
|
||||
if (isArray(json)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue