Skip to content

Commit

Permalink
fix ambiguous column
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Nov 2, 2023
1 parent b614a78 commit 21937f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pds/src/migrate-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const getUserAccount = async (ctx: AppContext, did: string) => {
.selectFrom('did_handle')
.innerJoin('user_account', 'user_account.did', 'did_handle.did')
.selectAll()
.where('did', '=', did)
.where('did_handle.did', '=', did)
.executeTakeFirst()
if (!accountRes) {
throw new Error(`could not find account: ${did}`)
Expand Down

0 comments on commit 21937f2

Please sign in to comment.