Skip to content

Commit

Permalink
Added prize image url to email variables
Browse files Browse the repository at this point in the history
  • Loading branch information
gapidobri committed Oct 14, 2024
1 parent ea4ac92 commit 2b92afd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/service/game.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ func (s *GameService) Participate(ctx context.Context, participationMethodId str
variables := []gochimp.Var{
{Name: "PRIZE_NAME", Content: prize.Name},
{Name: "PRIZE_DESCRIPTION", Content: prize.Description},
{Name: "PRIZE_IMAGE_URL", Content: prize.ImageUrl},
}

for key, field := range participationMethod.Fields.User {
Expand Down

0 comments on commit 2b92afd

Please sign in to comment.