Serialize details in contributions
This commit is contained in:
parent
7f56e1163a
commit
b6bc5af7bf
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user