Closed wesley6j closed 7 years ago
Object.keys(params.data.attributes).forEach(key => attrs[key] = params.data[key]); should be: Object.keys(params.data).forEach(key => attrs[key] = params.data[key]); ?
Object.keys(params.data.attributes).forEach(key => attrs[key] = params.data[key]);
Object.keys(params.data).forEach(key => attrs[key] = params.data[key]);
Yes, you are correct -- thanks for the catch. aor-jsonapi-client@0.1.16 has the fix.
Object.keys(params.data.attributes).forEach(key => attrs[key] = params.data[key]);
should be:Object.keys(params.data).forEach(key => attrs[key] = params.data[key]);
?