From 4d0383d75ac606f8c9c2b8ecb0ea2dddf28213cb Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 20 Jan 2022 00:02:17 +0100 Subject: [PATCH] Add content-type to status source in glitch-soc --- app/serializers/rest/status_source_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/rest/status_source_serializer.rb b/app/serializers/rest/status_source_serializer.rb index cd3c7408479..c03cbd20d3c 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