Upstream cast me sync
This commit is contained in:
@@ -17,8 +17,7 @@ class CastingCallsController < ApplicationController
|
||||
|
||||
if @casting_call.save
|
||||
log_create_analytics
|
||||
castme_url = url_for([@project, @casting_call])
|
||||
SubmitHubspotFormJob.perform_later(email: @casting_call.user_email, castme_url: castme_url, form_guid: ENV["HUBSPOT_CASTING_CALL_REQUEST_FORM_GUID"])
|
||||
redirect_to [@project, :casting_calls], notice: t(".notice")
|
||||
else
|
||||
render :new
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user