From 33230f933454e64436dddb906d53512f97a60ce1 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Fri, 3 Mar 2023 21:25:38 -0600 Subject: Arregla algunos métodos de controladores MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/user_accounts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api/user_accounts_controller.rb') diff --git a/app/controllers/api/user_accounts_controller.rb b/app/controllers/api/user_accounts_controller.rb index ca5d93b..85323df 100644 --- a/app/controllers/api/user_accounts_controller.rb +++ b/app/controllers/api/user_accounts_controller.rb @@ -6,7 +6,7 @@ module Api skip_before_action :validate_jwt, only: [:create] def show - render json: serialized_user_account.serializable_hash + render json: Serializers::UserAccountSerializer.new(current_user_account).serializable_hash end def create -- cgit v1.2.3