Commit fe7b9eae authored by okhin's avatar okhin 🚴

Needs to pass the request to get_current_site

parent cd90b23f
Pipeline #1139 passed with stages
in 1 minute and 42 seconds
......@@ -33,5 +33,5 @@ class OrganizationSerializer(serializers.ModelSerializer):
def get_logo(self, obj):
if obj.logo:
return get_current_site() + obj.logo.url
return get_current_site(self.context.get("request")) + obj.logo.url
return None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment