Serialize details in contributions
This commit is contained in:
@@ -41,6 +41,7 @@ class Contribution {
|
|||||||
kind,
|
kind,
|
||||||
description,
|
description,
|
||||||
url,
|
url,
|
||||||
|
details
|
||||||
} = deserialized;
|
} = deserialized;
|
||||||
|
|
||||||
let data = {
|
let data = {
|
||||||
@@ -51,7 +52,7 @@ class Contribution {
|
|||||||
},
|
},
|
||||||
kind,
|
kind,
|
||||||
description,
|
description,
|
||||||
"details": {}
|
"details": details || {}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (url) {
|
if (url) {
|
||||||
|
|||||||
Reference in New Issue
Block a user