backend: fix table name used in toHtml

This commit is contained in:
Norm 2022-09-08 17:14:23 +00:00
parent 058d414fff
commit c33655bc4f

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')