Ask HN: Undeleteable GitHub Notification
3 comments
I've been dealing with the same issue for the last week or so, but just found a solution!
Install the GitHub CLI ("brew install gh" or similar), authenticate with your GitHub credentials ("gh auth login"), then run the following:
gh api --method PUT -H "Accept: application/vnd.github+json" /notifications -F read=true
Blue dot gone! :-) This marks all notifications as read, which clears the phantom notification from the deleted account.
Install the GitHub CLI ("brew install gh" or similar), authenticate with your GitHub credentials ("gh auth login"), then run the following:
gh api --method PUT -H "Accept: application/vnd.github+json" /notifications -F read=true
Blue dot gone! :-) This marks all notifications as read, which clears the phantom notification from the deleted account.
You might be able to manually clear it: open your web browser inspector, clear a notification, modify that request to target the other.
Or maybe disabling / re-enabling notifications.
Or maybe disabling / re-enabling notifications.
<humor>You all are lucky. The one on my account tells me I'm fat.</humor>
It helpfully says "1-0 of 2" notifications are shown, which in reality means the list is empty.
It's from some scam repos that mentioned me but were deleted before I could clear the notification.
Am I the only one bothered by this? How do you get rid of the dot? ;)