Add page for showing notifications
This commit is contained in:
parent
c3e8bba822
commit
396cf5c586
6 changed files with 128 additions and 3 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue