bettermail/portal/app/controllers/api/v1/account_controller.rb
2022-11-12 02:27:46 +01:00

12 lines
372 B
Ruby

class Api::V1::AccountController < Api::AuthenticatedApiController
def create
render json: { success: true} and return
end
# def is_domain_valid
# valid = !Helpbuild::Ecosystem.reserved_account_domains.include?(params[:domain])
# valid &= /[A-Za-z0-9-]{1,63}/.match(params[:domain]).present?
# render json: { success: valid} and return
# end
end