Skip to content

Commit 7dbf45f

Browse files
committed
feat: add email validation to job matching criteria
- Add email_required filter to Algora.Cloud.list_top_matches/1 - Filter users to only include those with email or provider_meta email - Update Settings.get_job_matches/1 to use email_required: true - Ensure all job matches have valid email addresses for contact
1 parent f64e329 commit 7dbf45f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/algora/settings/settings.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ defmodule Algora.Settings do
111111
[
112112
tech_stack: job.tech_stack,
113113
limit: Algora.Cloud.count_matches(job),
114+
email_required: true,
114115
sort_by:
115116
case get_job_criteria(job) do
116117
criteria when map_size(criteria) > 0 -> criteria

0 commit comments

Comments
 (0)