about summary refs log tree commit diff
path: root/app/controllers/api/v1/accounts
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-11-26 23:41:01 +0100
committerGitHub <noreply@github.com>2021-11-26 23:41:01 +0100
commit4aec8087c71a623abdf201bbc2619507a6b02374 (patch)
tree931f4c972e55ec032f3f5f6b58621d0380a92a5e /app/controllers/api/v1/accounts
parent97151840b02499a0cec1360907a6b86a1df02b3b (diff)
parentca5d78816bb31454de28480dec5c6384ed259eef (diff)
Merge pull request #1640 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/api/v1/accounts')
-rw-r--r--app/controllers/api/v1/accounts/identity_proofs_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/api/v1/accounts/identity_proofs_controller.rb b/app/controllers/api/v1/accounts/identity_proofs_controller.rb
index 4b5f6902c..48f293f47 100644
--- a/app/controllers/api/v1/accounts/identity_proofs_controller.rb
+++ b/app/controllers/api/v1/accounts/identity_proofs_controller.rb
@@ -5,8 +5,7 @@ class Api::V1::Accounts::IdentityProofsController < Api::BaseController
   before_action :set_account
 
   def index
-    @proofs = @account.suspended? ? [] : @account.identity_proofs.active
-    render json: @proofs, each_serializer: REST::IdentityProofSerializer
+    render json: []
   end
 
   private