feat(kol): expose kol_profile on /api/auth/me and add seed script

This commit is contained in:
2026-04-17 09:02:33 +08:00
parent 70725193eb
commit 40519545c6
5 changed files with 92 additions and 14 deletions
@@ -18,7 +18,12 @@ type AuthHandler struct {
func NewAuthHandler(a *bootstrap.App) *AuthHandler {
return &AuthHandler{
svc: app.NewAuthService(repository.NewAuthRepository(a.DB), a.JWT, a.Sessions),
svc: app.NewAuthService(
repository.NewAuthRepository(a.DB),
a.KolProfiles,
a.JWT,
a.Sessions,
),
}
}