diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-01-20 00:02:17 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-01-20 00:03:44 +0100 |
commit | 4d0383d75ac606f8c9c2b8ecb0ea2dddf28213cb (patch) | |
tree | cf7045aaa65765fcec7a78a2c84b8a572c99964c /app | |
parent | d4654dc8929e4ded74194c95f8ee45daf6dc6516 (diff) |
Add content-type to status source in glitch-soc
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/rest/status_source_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |