Fix unknown type attachment

Co-authored-by: Samantaz Fox <coding@samantaz.fr>
このコミットが含まれているのは:
ChunkyProgrammer 2023-05-02 21:10:57 -04:00 committed by GitHub
コミット 2d5145614b
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更4行の追加2行の削除

ファイルの表示

@ -217,8 +217,10 @@ def fetch_channel_community(ucid, continuation, locale, format, thin_mode)
.as(SearchPlaylist)
.to_json(locale, json)
else
json.field "type", "unknown"
json.field "error", "Unrecognized attachment type."
json.object do
json.field "type", "unknown"
json.field "error", "Unrecognized attachment type."
end
end
end
end