mevljas/pilea-web

Deleting friends doesn't work.

Closed this issue · 0 comments

When a user tries to delete a friend the site crashes.

My assumption is the problem lies in the friendship model structure.
In the model friendship the UserID and UseFriendID attributes are saved as string, this might cause issues when trying to find a certain ID in the DeleteConfirmed function.
image
image

UserID and UserFriendID are saved as strings in the database.

🌺