Add mention of the translation provider when translating a post (#19433)

This commit is contained in:
Claire
2022-10-24 18:37:57 +02:00
committed by GitHub
parent 8046cf34d6
commit 30453fab80
5 changed files with 5 additions and 5 deletions

View File

@@ -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