Not Null Constraint Failed When User Has No Avatar Hash #23

Closed
opened 2024-07-29 20:35:45 +00:00 by corbz · 0 comments
Owner

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.

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.
corbz added the
bug
label 2024-07-29 20:35:45 +00:00
corbz self-assigned this 2024-07-29 20:35:45 +00:00
corbz added this to the PYRSS project 2024-07-29 20:35:45 +00:00
corbz referenced this issue from a commit 2024-08-03 09:21:10 +00:00
corbz closed this issue 2024-08-03 09:21:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: corbz/PYRSS-Website#23
No description provided.