From 92237e8ad5dde6a0dc47ee0d41ad84fa1534cc6f Mon Sep 17 00:00:00 2001 From: chronark Date: Fri, 29 Sep 2023 15:32:40 +0200 Subject: [PATCH] fix: only append 'keepttl' --- pkg/commands/set.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/set.ts b/pkg/commands/set.ts index 84b639fb..18d33946 100644 --- a/pkg/commands/set.ts +++ b/pkg/commands/set.ts @@ -46,7 +46,7 @@ export class SetCommand } else if ("pxat" in opts && typeof opts.pxat === "number") { command.push("pxat", opts.pxat); } else if ("keepTtl" in opts && opts.keepTtl) { - command.push("keepTtl", opts.keepTtl); + command.push("keepTtl"); } } super(command, cmdOpts);