Not Null Constraint Failed When User Has No Avatar Hash #23
Loading…
x
Reference in New Issue
Block a user
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?
If the user doesn't have a custom avatar with his/her Discord account, then tries to login to PYRSS web interface; a 500 error occurs.
This is due to the NOT NULL constraint on the avatar hash field on the user model.
Ideally we'd want a way to use the same default avatar as the user has, which is randomly assigned to his/her Discord account.