fix: session authentication middleware

This commit is contained in:
2025-06-09 12:56:59 +01:00
parent ea9c5f0902
commit 14ce860c37
12 changed files with 283 additions and 97 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import (
)
type Client struct {
ID uint32 `json:"id"`
ID uint32 `json:"id" gorm:"primaryKey"`
CreatedAt time.Time `json:"createAt"`
UpdatedAt time.Time `json:"updatedAt"`
DeletedAt gorm.DeletedAt `json:"deletedAt" gorm:"index"`