From: Claire Date: Wed, 19 Jan 2022 23:02:17 +0000 (+0100) Subject: Add content-type to status source in glitch-soc X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=4d0383d75ac606f8c9c2b8ecb0ea2dddf28213cb;p=mastodon.git Add content-type to status source in glitch-soc --- diff --git a/app/serializers/rest/status_source_serializer.rb b/app/serializers/rest/status_source_serializer.rb index cd3c74084..c03cbd20d 100644 --- a/app/serializers/rest/status_source_serializer.rb +++ b/app/serializers/rest/status_source_serializer.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class REST::StatusSourceSerializer < ActiveModel::Serializer - attributes :id, :text, :spoiler_text + attributes :id, :text, :spoiler_text, :content_type def id object.id.to_s