We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db5fe88 commit a9ec8aeCopy full SHA for a9ec8ae
lib/algora_web/live/org/job_live.ex
@@ -1094,8 +1094,12 @@ defmodule AlgoraWeb.Org.JobLive do
1094
# Fetch contributions for all applicants and create a map for quick lookup
1095
defp fetch_applicants_contributions(users, tech_stack) do
1096
Enum.reduce(users, %{}, fn user, acc ->
1097
- contributions = Algora.Workspace.list_user_contributions(user.provider_login, limit: 20, tech_stack: tech_stack)
1098
- Map.put(acc, user.id, contributions)
+ if user.provider_login do
+ contributions = Algora.Workspace.list_user_contributions(user.provider_login, limit: 20, tech_stack: tech_stack)
1099
+ Map.put(acc, user.id, contributions)
1100
+ else
1101
+ acc
1102
+ end
1103
end)
1104
end
1105
0 commit comments