Commit 2b95e274 authored by okhin's avatar okhin 🚴

Will deal with absolute URL

parent fe7b9eae
Pipeline #1140 passed with stages
in 1 minute and 44 seconds
...@@ -33,5 +33,5 @@ class OrganizationSerializer(serializers.ModelSerializer): ...@@ -33,5 +33,5 @@ class OrganizationSerializer(serializers.ModelSerializer):
def get_logo(self, obj): def get_logo(self, obj):
if obj.logo: if obj.logo:
return get_current_site(self.context.get("request")) + obj.logo.url return obj.logo.url
return None 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