Skip to content

Commit 650ca48

Browse files
facundofariasclaude
andcommitted
fix: pass nil ListOptions to ListDeployments after pagination refactor
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 090d8cc commit 650ca48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/commands/deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func resolveLatestRevision(ctx context.Context, client *sdk.Client, projectID st
2828
}
2929

3030
// Fallback: most recent deployment's end revision
31-
deps, depsErr := client.ListDeployments(ctx, projectID)
31+
deps, depsErr := client.ListDeployments(ctx, projectID, nil)
3232
if depsErr == nil && deps != nil {
3333
for _, d := range deps.Records {
3434
if d.EndRevision != nil && d.EndRevision.Ref != "" {

0 commit comments

Comments
 (0)