Describe the bug
If a remain notification related to a deleted board, loading notifications will return error:
Internal Server Error\nDid expect one result but found none when executing: query \"SELECT * FROM `*PREFIX*deck_boards` WHERE (`id` = :dcValue2) AND (`deleted_at` = :dcValue1) ORDER BY `id` ASC\";
To Reproduce
Steps to reproduce the behavior:
- Login as user A
- Enable Deck notification A board, list or card was changed
- Create a Board1
- Share Board1 to user B
- Login as user B
- Rename Board1
- Login as user A
- See notification that Board1 has been renamed
- Delete Board1
- Reload notifications list
Expected behavior
The notifications are loaded successfully.
Describe the bug
If a remain notification related to a deleted board, loading notifications will return error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The notifications are loaded successfully.