From d303a23f7fe341631f7dd073580bf6aeb0179771 Mon Sep 17 00:00:00 2001 From: Shlee Date: Thu, 6 Aug 2026 23:06:43 +0930 Subject: [PATCH] Fix: Update accounts controller to remove requested_deletion accounts (#40078) --- app/controllers/api/v1/accounts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/accounts_controller.rb b/app/controllers/api/v1/accounts_controller.rb index a7b06f2fa4..8856b8e039 100644 --- a/app/controllers/api/v1/accounts_controller.rb +++ b/app/controllers/api/v1/accounts_controller.rb @@ -88,7 +88,7 @@ class Api::V1::AccountsController < Api::BaseController end def set_accounts - @accounts = Account.where(id: account_ids).without_unapproved + @accounts = Account.where(id: account_ids).without_unapproved.without_requested_deletion end def check_account_approval