Serialize details in contributions

This commit is contained in:
Basti 2018-04-19 15:39:00 +02:00
parent 7f56e1163a
commit b6bc5af7bf

View File

@ -41,6 +41,7 @@ class Contribution {
kind,
description,
url,
details
} = deserialized;
let data = {
@ -51,7 +52,7 @@ class Contribution {
},
kind,
description,
"details": {}
"details": details || {}
};
if (url) {