TypeORMError: "user_profile" alias was not found. #132
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Attempting to create notes or reactions causes the following error (as of
058d414fff
):can you see if the fix in the
fix/backend-toHtml
branch works?Commit should be in main now, let me know if that fixes it.
oh also:
const mentionedUsers = await UserProfiles.createQueryBuilder('user_profile')
I suppose this fails if there are no mentioned users.
Yup, checked in terminal just now, postgres doesn't like empty
()
Also the userId column needs to be in quotes.
Trying to add quotes around
userId
only resulted in it being normalized to lowercase, which doesn't work since we don't have a lowercaseuserid
column.I think I've finally fixed the issue in #134, feel free to try that now.
It worked for me when I put it in double quotes (hacked a workaround for this issue so I had a chance to test that).
#134 fixes this.
Thanks!
Fixed in
f50b31b847