Remove unused session.Article attribute

This commit is contained in:
2025-01-14 21:31:57 +01:00
parent 13a6039490
commit 60e09175da
4 changed files with 4 additions and 14 deletions

View File

@@ -14,11 +14,10 @@ import (
)
type Session struct {
ctx context.Context
cancel context.CancelFunc
cookie *http.Cookie
User *b.User
Article *b.Article
ctx context.Context
cancel context.CancelFunc
cookie *http.Cookie
User *b.User
}
func newSession(w http.ResponseWriter, c *b.Config, sessionExpiryChan chan<- string, user *b.User) *Session {