This commit is contained in:
pakintada@gmail.com 2024-01-09 15:48:20 +07:00
parent 3698e6e3c0
commit e519fd055e
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -115,6 +115,7 @@ func (s *Server) createHandler() {
// Seed
_ = userService.CreateNewUser(context.WithValue(context.Background(), "user", &models.User{Email: "system"}), "kenta420", "poomipat.c@forth.co.th", "", permissions.SuperAdmin)
_ = userService.CreateNewUser(context.WithValue(context.Background(), "user", &models.User{Email: "system"}), "phu", "pakin.t@forth.co.th", "", permissions.SuperAdmin)
_ = userService.CreateNewUser(context.WithValue(context.Background(), "user", &models.User{Email: "system"}), "wanlop", "wanlop.r@forth.co.th", "", permissions.SuperAdmin)
// Auth Router
r.Group(func(r chi.Router) {