wheel
This commit is contained in:
parent
67812a1d75
commit
d3db08fd15
@ -103,7 +103,7 @@ func (r *GameRepository) GetFerrisWheelGame(ctx context.Context) (*entities.Game
|
||||
var game entities.Game
|
||||
err := r.db.WithContext(ctx).
|
||||
Preload("Prizes").
|
||||
Where("is_active = ? AND LOWER(name) LIKE ?", true, "%ferris wheel%").
|
||||
Where("is_active = ? AND type = ?", true, "SPIN").
|
||||
First(&game).Error
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user