Add mention of the translation provider when translating a post (#19433)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class REST::TranslationSerializer < ActiveModel::Serializer
|
||||
attributes :content, :detected_source_language
|
||||
attributes :content, :detected_source_language, :provider
|
||||
|
||||
def content
|
||||
object.text
|
||||
|
Reference in New Issue
Block a user