Commit 153e6af3 by Jose Antonio

Issue #185 user_avatar and uri_sound NULL

parent 4314b85a
Showing with 2 additions and 0 deletions
...@@ -100,6 +100,8 @@ module.exports = { ...@@ -100,6 +100,8 @@ module.exports = {
if (found) { if (found) {
// Now we have everything, so we add the picto to the list // Now we have everything, so we add the picto to the list
stuPicto.attributes.expression = stuPicto.attributes.expression ? stuPicto.attributes.expression : picto.expressions[0].text; stuPicto.attributes.expression = stuPicto.attributes.expression ? stuPicto.attributes.expression : picto.expressions[0].text;
stuPicto.attributes.uri_sound = stuPicto.attributes.uri_sound ? stuPicto.attributes.uri_sound : null;
stuPicto.attributes.user_avatar = stuPicto.attributes.user_avatar ? stuPicto.attributes.user_avatar : null;
var stuPictoToAdd = { var stuPictoToAdd = {
"id": stuPicto.id, "id": stuPicto.id,
"picto": stuPicto.picto, "picto": stuPicto.picto,
......
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 sign in to comment