Add mention of the translation provider when translating a post (#19433)
This commit is contained in:
parent
8046cf34d6
commit
30453fab80
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue