Skip to content

Commit

Permalink
using json_name
Browse files Browse the repository at this point in the history
  • Loading branch information
gohumble committed May 5, 2024
1 parent f0b573e commit 1480662
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mint.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
}


Expand Down

0 comments on commit 1480662

Please sign in to comment.