Skip to content

Commit 3fcaefa

Browse files
committed
chore: alert on job posting init
1 parent 0c9be6e commit 3fcaefa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/algora_web/live/jobs_live.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ defmodule AlgoraWeb.JobsLive do
264264
Accounts.get_or_register_user(params["email"], %{type: :organization, display_name: params["company_name"]}),
265265
{:ok, job} <- params |> Map.put("user_id", user.id) |> Jobs.create_job_posting(),
266266
{:ok, url} <- Jobs.create_payment_session(job) do
267+
Algora.Admin.alert("Job posting initialized: #{job.company_name}", :info)
267268
{:noreply, redirect(socket, external: url)}
268269
else
269270
{:error, %Ecto.Changeset{} = changeset} ->

0 commit comments

Comments
 (0)