feat(kol): expose kol_profile on /api/auth/me and add seed script
This commit is contained in:
@@ -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,
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user