Use typed IDs instead of plain strings
This commit is contained in:
@ -9,7 +9,7 @@ import (
|
||||
|
||||
// Notification represents a user-associated notification.
|
||||
type Notification struct {
|
||||
UserID string `json:"userId"`
|
||||
UserID UserID `json:"userId"`
|
||||
Created string `json:"created"`
|
||||
Seen string `json:"seen"`
|
||||
|
||||
|
Reference in New Issue
Block a user