remove username field from UserCircleDetail struct

This commit is contained in:
Mo Tarbin 2024-12-14 02:54:25 -05:00
parent bb739de594
commit 7f7293ac0e

View file

@ -33,7 +33,7 @@ type UserCircle struct {
type UserCircleDetail struct { type UserCircleDetail struct {
UserCircle UserCircle
Username string `json:"username" gorm:"column:username"` Username string `json:"-" gorm:"column:username"`
DisplayName string `json:"displayName" gorm:"column:display_name"` DisplayName string `json:"displayName" gorm:"column:display_name"`
NotificationType nModel.NotificationType `json:"-" gorm:"column:notification_type"` NotificationType nModel.NotificationType `json:"-" gorm:"column:notification_type"`
TargetID string `json:"-" gorm:"column:target_id"` // Target ID TargetID string `json:"-" gorm:"column:target_id"` // Target ID