chore: Update the design of the help center portal (#6775)

This commit is contained in:
Pranav Raj S
2023-05-08 15:31:38 -07:00
committed by GitHub
parent 2b88ecdfc4
commit ce3e38df0f
20 changed files with 73 additions and 66 deletions

View File

@@ -30,7 +30,7 @@ class Api::V1::Accounts::PortalsController < Api::V1::Accounts::BaseController
ActiveRecord::Base.transaction do
@portal.update!(portal_params) if params[:portal].present?
# @portal.custom_domain = parsed_custom_domain
process_attached_logo
process_attached_logo if params[:blob_id].present?
rescue StandardError => e
Rails.logger.error e
render json: { error: @portal.errors.messages }.to_json, status: :unprocessable_entity