Skip to content

Commit

Permalink
fix(parser): correctly get 8ball settings in command
Browse files Browse the repository at this point in the history
fixes #729
  • Loading branch information
Satont committed May 10, 2024
1 parent 079f112 commit 598072b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/parser/internal/commands/games/8ball.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var EightBall = &types.DefaultCommand{
) {
entity := model.ChannelGames8Ball{}
if err := parseCtx.Services.Gorm.WithContext(ctx).Where(
`"channelId" = ?`,
`"channel_id" = ?`,
parseCtx.Channel.ID,
).First(&entity).Error; err != nil {
if errors.Is(err, gorm.ErrRecordNotFound) {
Expand Down

0 comments on commit 598072b

Please sign in to comment.