Skip to content

Commit

Permalink
Fix is_mine value on upload picture response
Browse files Browse the repository at this point in the history
  • Loading branch information
jordifierro committed Jan 4, 2018
1 parent af09926 commit 881efff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiences/repositories.py
Expand Up @@ -59,7 +59,7 @@ def attach_picture_to_experience(self, experience_id, picture):
experience = ORMExperience.objects.get(id=experience_id)
experience.picture = picture
experience.save()
return self._decode_db_experience(experience)
return self._decode_db_experience(experience, is_mine=True)

def update_experience(self, experience):
orm_experience = ORMExperience.objects.get(id=experience.id)
Expand Down

0 comments on commit 881efff

Please sign in to comment.