Skip to content

Commit 5c4b002

Browse files
committed
fix: use coalesce to handle tech_stack for repo owner and repository
1 parent 17a2e1f commit 5c4b002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/algora_web/live/admin/campaign_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ defmodule AlgoraWeb.Admin.CampaignLive do
247247
select: %{
248248
repo_owner: u.provider_login,
249249
repo_name: r.name,
250-
tech_stack: r.tech_stack
250+
tech_stack: fragment("COALESCE(?, ?)", u.tech_stack, r.tech_stack)
251251
},
252252
limit: 1
253253
)

0 commit comments

Comments
 (0)