From 98abaf3d19631f1280b83467d38f28b150a02a3a Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sat, 27 Jul 2024 05:56:48 +0300 Subject: Add a default values to (hopefully) all nullable fields --- src/types/PreCheckoutQuery.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/types/PreCheckoutQuery.zig') diff --git a/src/types/PreCheckoutQuery.zig b/src/types/PreCheckoutQuery.zig index 48e013f..fe80ce5 100644 --- a/src/types/PreCheckoutQuery.zig +++ b/src/types/PreCheckoutQuery.zig @@ -6,5 +6,5 @@ from: User, currency: []const u8, total_amount: u64, invoice_payload: []const u8, -shipping_option_id: ?[]const u8, -order_info: ?OrderInfo, +shipping_option_id: ?[]const u8 = null, +order_info: ?OrderInfo = null, -- cgit v1.2.3