UPDATE: Change role logic
All checks were successful
Build and Release / release (push) Successful in 1m0s
All checks were successful
Build and Release / release (push) Successful in 1m0s
This commit is contained in:
@@ -80,7 +80,7 @@ func (s *FiberServer) SetupServer(sqlPg sqlc.DBTX, sqlTile *sql.DB, redis cache.
|
|||||||
|
|
||||||
// service setup
|
// service setup
|
||||||
authService := services.NewAuthService(userRepo, roleRepo, tokenRepo, redis)
|
authService := services.NewAuthService(userRepo, roleRepo, tokenRepo, redis)
|
||||||
userService := services.NewUserService(userRepo, roleRepo)
|
userService := services.NewUserService(userRepo, roleRepo, redis)
|
||||||
roleService := services.NewRoleService(roleRepo)
|
roleService := services.NewRoleService(roleRepo)
|
||||||
tileService := services.NewTileService(tileRepo)
|
tileService := services.NewTileService(tileRepo)
|
||||||
mediaService := services.NewMediaService(mediaRepo, tokenRepo, sclient, redis)
|
mediaService := services.NewMediaService(mediaRepo, tokenRepo, sclient, redis)
|
||||||
|
|||||||
Reference in New Issue
Block a user