From 0b9bbc1768f51549826cb7cea0dce5259f5a6a01 Mon Sep 17 00:00:00 2001 From: olegphenomenon Date: Thu, 20 Oct 2022 16:11:03 +0300 Subject: [PATCH] fixed registrant sign in --- app/controllers/api/v1/registrant/contacts_controller.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/controllers/api/v1/registrant/contacts_controller.rb b/app/controllers/api/v1/registrant/contacts_controller.rb index cee2e61a8..bbc4fe9b2 100644 --- a/app/controllers/api/v1/registrant/contacts_controller.rb +++ b/app/controllers/api/v1/registrant/contacts_controller.rb @@ -51,8 +51,6 @@ module Api reparsed_request = reparsed_request(request.body.string) - p '-----' - disclosed_attributes = reparsed_request[:disclosed_attributes] render_disclosed_attributes_error and return if disclosed_attributes.present? && contact.org? && @@ -158,10 +156,6 @@ module Api def find_contact_and_update_credentials(uuid, name, email, phone) contact = current_registrant_user.contacts.find_by!(uuid: uuid) - p '-----------' - p current_registrant_user - p current_registrant_user.contacts - p '----------' contact.name = name if name.present? contact.email = email if email.present? contact.phone = phone if phone.present?