juanmbellini/PowerUp

Improve profile picture stuff

Closed this issue · 1 comments

Needed to check whether a user has a profile picture or not, and to conditionally show the Delete your profile picture in the Profile page. Also consider making picture deletion idempotent (ie. if the user already doesn't have a picture, don't fail)

  • Add profilePictureUrl field in User json
  • Return 404 in case no picture
  • Make delete picture idempotent