Skip to content

Commit c5a1f4f

Browse files
committed
misc
1 parent 368da6f commit c5a1f4f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

lib/algora/cloud.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ defmodule Algora.Cloud do
4242
end
4343

4444
def notify_match(attrs) do
45-
dbg("skipping auto notification")
46-
{:ok, attrs}
47-
# call(AlgoraCloud.Talent.Jobs.SendJobMatchEmail, :send, [attrs])
45+
call(AlgoraCloud.Talent.Jobs.SendJobMatchEmail, :send, [attrs])
4846
end
4947

5048
def notify_candidate_like(attrs) do

lib/algora/jobs/schemas/job_posting.ex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ defmodule Algora.Jobs.JobPosting do
33
use Algora.Schema
44

55
alias Algora.Accounts.User
6+
alias Money.Ecto.Composite.Type
67

78
typed_schema "job_postings" do
89
field :title, :string
@@ -21,8 +22,8 @@ defmodule Algora.Jobs.JobPosting do
2122
# e.g. ["LATAM", "NA"]
2223
field :regions, {:array, :string}, default: []
2324
field :compensation, :string
24-
field :min_compensation, Money.Ecto.Composite.Type
25-
field :max_compensation, Money.Ecto.Composite.Type
25+
field :min_compensation, Type
26+
field :max_compensation, Type
2627
field :seniority, :string
2728
field :system_tags, {:array, :string}, default: []
2829
field :primary_tech, :string
@@ -32,7 +33,7 @@ defmodule Algora.Jobs.JobPosting do
3233
field :location_meta, :map
3334
field :location_iso_lvl4, :string
3435
field :location_types, {:array, Ecto.Enum}, values: [:remote, :hybrid, :onsite]
35-
field :locations, {:array, :string}
36+
field :locations, {:array, :string}, default: []
3637

3738
belongs_to :user, User, null: false
3839
has_many :interviews, Algora.Interviews.JobInterview, foreign_key: :job_posting_id

0 commit comments

Comments
 (0)