From 1480662d5d47772388a561cdd7769750e357b1d6 Mon Sep 17 00:00:00 2001 From: gohumble Date: Sun, 5 May 2024 17:54:59 +0200 Subject: [PATCH] using json_name --- mint.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mint.proto b/mint.proto index 1632e8f..beafa5f 100644 --- a/mint.proto +++ b/mint.proto @@ -19,10 +19,10 @@ message PostMintQuoteBolt11Request { } message PostMintQuoteBolt11Response { - string quote = 1 [(tagger.tags) = "json:\"quote\""]; - string request = 2 [(tagger.tags) = "json:\"request\""]; - bool paid = 3 [(tagger.tags) = "json:\"paid\""]; - int64 expiry = 4 [(tagger.tags) = "json:\"expiry\""]; + string quote = 1 [json_name = "quote"]; + string request = 2 [json_name = "request"]; + bool paid = 3 [json_name = "paid"]; + int64 expiry = 4 [json_name = "expiry"]; }