enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
201 stars 34 forks source link

Array should be rendered same way as object #5035

Closed srs closed 6 years ago

srs commented 7 years ago

Array should be rendered as is. This will not render right now:

exports.get = function () {
    return {
        body: [],
        contentType: 'application/json'
    };
}
aro commented 6 years ago

https://github.com/enonic/xp/commit/07714bd94aab624e3d8be4d07a09d2a20cb0edbb

GlennRicaud commented 6 years ago

Reviewed