fix(lint): rename unused now param in produceDiscover to _
revive unused-parameter: produceDiscover keys off dateStr, not now, but must keep the uniform systemPlaylistProducer signature. Blank the unused param (param names don't affect func-type identity). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -370,7 +370,7 @@ func produceSeedMixes(
|
|||||||
// (logged, yields no Discover) to match the prior behavior.
|
// (logged, yields no Discover) to match the prior behavior.
|
||||||
func produceDiscover(
|
func produceDiscover(
|
||||||
ctx context.Context, q *dbq.Queries, logger *slog.Logger,
|
ctx context.Context, q *dbq.Queries, logger *slog.Logger,
|
||||||
userID pgtype.UUID, dateStr string, now time.Time,
|
userID pgtype.UUID, dateStr string, _ time.Time,
|
||||||
) ([]builtPlaylist, error) {
|
) ([]builtPlaylist, error) {
|
||||||
tracks, derr := buildDiscoverCandidates(ctx, q, logger, userID, dateStr)
|
tracks, derr := buildDiscoverCandidates(ctx, q, logger, userID, dateStr)
|
||||||
if derr != nil {
|
if derr != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user