Skip to content

Commit

Permalink
fix: disambiguate id column
Browse files Browse the repository at this point in the history
  • Loading branch information
bchrobot committed Sep 20, 2022
1 parent e424d31 commit ccc674a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/lib/alerts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export async function notifyLargeCampaignEvent(
const campaignInfo = await r
.knex("campaign")
.join("organization", "organization.id", "=", "campaign.organization_id")
.where({ id: campaignId })
.where({ "campaign.id": campaignId })
.first([
"organization.id as org_id",
"organization.name as org_name",
Expand Down

0 comments on commit ccc674a

Please sign in to comment.