honey badger does not care about string vs number, but we do
This commit is contained in:
parent
100d49b4c7
commit
4c54ef29e3
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ fn setRecirculation(allocator: std.mem.Allocator, id_token: []const u8, thing_na
|
||||||
|
|
||||||
const body = if (duration_minutes) |min|
|
const body = if (duration_minutes) |min|
|
||||||
try std.fmt.allocPrint(allocator,
|
try std.fmt.allocPrint(allocator,
|
||||||
\\{{"recirculation_duration":"{d}","set_recirculation_enabled":true}}
|
\\{{"recirculation_duration":{d},"set_recirculation_enabled":true}}
|
||||||
, .{min})
|
, .{min})
|
||||||
else
|
else
|
||||||
try allocator.dupe(u8,
|
try allocator.dupe(u8,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue