Change response in News widget
Content response in widget type News should provide following data:
-
NewsContent -
createdBy -> username -
createdAt -
NewsCategory -> label -
titleImageUrl
AC
-
the fields specified above are added to content
attribute of widget QSMessage -
NewsContent and NewsCategory are nested within widget content (as with normal NewsItem response) -
Tests are running properly
Review
-
the fields specified above are added to content
attribute of widget QSMessage-
NewsContent -
createdBy -> username -
createdAt -
NewsCategory -> label -
titleImageUrl
-
-
NewsContent and NewsCategory are nested within widget content (as with normal NewsItem response) -
Tests are running properly
Edited by Michael Voigt