Commit 5aaa3801 authored by Sebastian's avatar Sebastian
Browse files

Ups 馃檲

parent b4abf0cd
...@@ -104,7 +104,6 @@ module.exports.toJSON = function(object, attributes, options) { ...@@ -104,7 +104,6 @@ module.exports.toJSON = function(object, attributes, options) {
result[attribute] = value; result[attribute] = value;
if(Array.isArray(result[attribute])) { if(Array.isArray(result[attribute])) {
console.log('ARRAY!');
var newObj = []; var newObj = [];
result[attribute].forEach(function(object) { result[attribute].forEach(function(object) {
newObj.push(object.toJSON()); newObj.push(object.toJSON());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment