Closed Dilshaad21 closed 4 years ago
@akshatnitd I did that similar to getAvatar endpoint. But unlike passing it using ServletOutputStream
I converted it into String
and then returned it. We can accept that form of image and convert it accordingly if required in the client-side itself. Want to know your views.
Fixes #1462
Changes:
getUserAvatar
function to get author avatar and put it in theresult
JSON Object.Screenshots for the change: NA