Skip to content

Commit

Permalink
* Fix renderer so that we can pass a user that is not the request user.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroff committed Apr 11, 2017
1 parent 9fb3284 commit 2f79b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_kala/basecamp_classic/people/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def render(self, data, accepted_media_type=None, renderer_context=None):
xml.endElement('people')
# Otherwise just render a person
else:
self.render_person(data['request_user'], data['request_user'], xml)
self.render_person(data['users'], data['request_user'], xml)
xml.endDocument()
return stream.getvalue()

Expand Down

0 comments on commit 2f79b07

Please sign in to comment.