Add page for showing notifications

This commit is contained in:
Eli Ribble 2026-02-10 16:24:37 +00:00
parent c3e8bba822
commit 396cf5c586
No known key found for this signature in database
6 changed files with 128 additions and 3 deletions

View file

@ -85,7 +85,7 @@ func ForUser(ctx context.Context, u *models.User) ([]Notification, error) {
func notificationTypeName(t enums.Notificationtype) string {
switch t {
case enums.NotificationtypeOauthTokenInvalidated:
return "alert"
return "oauth-token-invalid"
default:
return "unknown-type"
}