[fixes] Based on APM findings

This commit is contained in:
Fosco Marotto
2021-01-11 23:56:42 -05:00
parent 0b77b386a2
commit 22ec66d07f
5 changed files with 13 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
class Api::V1::AccountByUsernameController < EmptyController
class Api::V1::AccountByUsernameController < API::BaseController
before_action :set_account
before_action :check_account_suspension
before_action :check_account_local