Skip to content

Commit

Permalink
fix not being able to add youtube feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishjh-bst committed Jun 28, 2024
1 parent 62f4bee commit 2603ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ func (p *Plugin) AddFeed(guildID, discordChannelID int64, ytChannel *youtube.Cha
}
defer common.UnlockRedisKey(RedisChannelsLockKey)

err = sub.InsertG(context.Background(), boil.Whitelist("guild_id", "channel_id", "mention_everyone", "mention_roles", "publish_livestream", "publish_shorts", "enabled"))
err = sub.InsertG(context.Background(), boil.Infer())
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 2603ec3

Please sign in to comment.