Skip to content

Commit d030dc3

Browse files
authored
Merge pull request #248 from twitchdev/fix-241
Incorrect return value for channel.prediction.lock
2 parents ee48aa7 + d785d07 commit d030dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/events/types/prediction/prediction.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (e Event) GenerateEvent(params events.MockEventParameters) (events.MockEven
7272
ChannelPointsUsed: int(util.RandomInt(10*1000)) + 100,
7373
}
7474
sum += t.ChannelPointsUsed
75-
if params.Trigger == "prediction-lock" || params.Trigger == "prediction-end" {
75+
if params.Trigger == "prediction-end" {
7676
if i == 0 {
7777
t.ChannelPointsWon = intPointer(t.ChannelPointsUsed * 2)
7878
} else {

0 commit comments

Comments
 (0)