fix: popok-id on orchestrator

This commit is contained in:
Samuel Tariku 2025-09-17 21:19:48 +03:00
parent af1cb4023e
commit 65df6b9ff1

View File

@ -250,7 +250,7 @@ func (s *Service) FetchAndStoreAllVirtualGames(ctx context.Context, req domain.P
// --- Save to DB --- // --- Save to DB ---
_, err = s.repo.CreateVirtualGame(ctx, dbgen.CreateVirtualGameParams{ _, err = s.repo.CreateVirtualGame(ctx, dbgen.CreateVirtualGameParams{
GameID: fmt.Sprintf("popok-%d", g.ID), GameID: fmt.Sprintf("%d", g.ID), //The id here needs to be clean for me to access
ProviderID: "popok", ProviderID: "popok",
Name: g.GameName, Name: g.GameName,
Bets: betsNumeric, Bets: betsNumeric,