Skip to content

fix: add missing ttl to dns.records.update call - #213

Merged
willswire merged 1 commit into
mainfrom
fix/ttl-type-error
Mar 4, 2026
Merged

fix: add missing ttl to dns.records.update call#213
willswire merged 1 commit into
mainfrom
fix/ttl-type-error

Conversation

@willswire

Copy link
Copy Markdown
Owner

Summary

  • Adds missing ttl property to the cloudflare.dns.records.update() call, fixing a TypeScript type error where RecordUpdateParams requires ttl but it wasn't being passed through

Test plan

  • All 18 tests pass
  • tsc --noEmit shows no project-level errors

🤖 Generated with Claude Code

Fixes TypeScript error where the ttl property was required by the
Cloudflare SDK RecordUpdateParams type but not being passed through.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 98.57% 69 / 70
🔵 Statements 98.59% 70 / 71
🔵 Functions 100% 6 / 6
🔵 Branches 98.07% 51 / 52
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/index.ts 98.59% 98.07% 100% 98.57% 57
Generated in workflow #111 for commit e83922c by the Vitest Coverage Report Action

@willswire
willswire merged commit 0fc35f7 into main Mar 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant