Skip to content

Commit a0e2bf7

Browse files
committed
miscellanea
1 parent 8833f63 commit a0e2bf7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/algora/workspace/workspace.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ defmodule Algora.Workspace do
203203
end
204204

205205
def ensure_user_by_provider_id(token, provider_id) do
206-
case Repo.get_by(User, provider: "github", provider_id: provider_id) do
206+
case Repo.get_by(User, provider: "github", provider_id: to_string(provider_id)) do
207207
%User{} = user -> {:ok, user}
208208
nil -> create_user_from_github(token, provider_id)
209209
end
@@ -642,6 +642,7 @@ defmodule Algora.Workspace do
642642
where: not ilike(r.name, "%awesome%"),
643643
where: not ilike(r.name, "%algorithms%"),
644644
where: not ilike(repo_owner.provider_login, "%algorithms%"),
645+
where: not ilike(repo_owner.provider_login, "%firstcontributions%"),
645646
where: repo_owner.type == :organization or r.stargazers_count > 200,
646647
# where: fragment("? && ?::citext[]", r.tech_stack, ^(opts[:tech_stack] || [])),
647648
order_by: [

lib/algora_web/live/org/job_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ defmodule AlgoraWeb.Org.JobLive do
262262
<span class="flex items-center justify-between w-full gap-2">
263263
<span class="text-sm font-medium">{label}</span>
264264
<span class="text-xs text-muted-foreground">
265-
{count}
265+
{count}{if count == 100, do: "+", else: ""}
266266
</span>
267267
</span>
268268
</label>

0 commit comments

Comments
 (0)