honey badger does not care about string vs number, but we do

This commit is contained in:
Emil Lerch 2025-12-11 14:13:40 -08:00
parent 100d49b4c7
commit 4c54ef29e3
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -239,7 +239,7 @@ fn setRecirculation(allocator: std.mem.Allocator, id_token: []const u8, thing_na
const body = if (duration_minutes) |min|
try std.fmt.allocPrint(allocator,
\\{{"recirculation_duration":"{d}","set_recirculation_enabled":true}}
\\{{"recirculation_duration":{d},"set_recirculation_enabled":true}}
, .{min})
else
try allocator.dupe(u8,