Merge pull request 'backend: fix table name used in toHtml' (#133) from fix/backend-toHtml into main

Reviewed-on: FoundKeyGang/FoundKey#133
Changelog: Fixed
This commit is contained in:
Norm 2022-09-08 18:18:07 +00:00
commit 736c21a80a

View file

@ -14,7 +14,7 @@ export async function toHtml(mfmText: string, mentions?: string[]): Promise<stri
return null;
}
const mentionedUsers = await UserProfiles.createQueryBuilder('user_profiles')
const mentionedUsers = await UserProfiles.createQueryBuilder('user_profile')
.leftJoin('user_profile.user', 'user')
.select('user.username')
.addSelect('user.host')