Merge pull request #7236 from yyforyongyu/fix-typo

proto: fix typo [skip ci]
This commit is contained in:
Oliver Gugger authored and GitHub committed 2022-12-06 09:21:11 +01:00
commit ddbe09be87
3 files changed
+12 -12

No files matched your search

+4 -4
View File
@@ -12319,10 +12319,10 @@ type ListInvoiceRequest struct {
// If set, the invoices returned will result from seeking backwards from the // If set, the invoices returned will result from seeking backwards from the
// specified index offset. This can be used to paginate backwards. // specified index offset. This can be used to paginate backwards.
Reversed bool `protobuf:"varint,6,opt,name=reversed,proto3" json:"reversed,omitempty"` Reversed bool `protobuf:"varint,6,opt,name=reversed,proto3" json:"reversed,omitempty"`
// If set, returns all invoices with a creation date greater than or euqal // If set, returns all invoices with a creation date greater than or equal
// to it. Measured in seconds since the unix epoch. // to it. Measured in seconds since the unix epoch.
CreationDateStart uint64 `protobuf:"varint,7,opt,name=creation_date_start,json=creationDateStart,proto3" json:"creation_date_start,omitempty"` CreationDateStart uint64 `protobuf:"varint,7,opt,name=creation_date_start,json=creationDateStart,proto3" json:"creation_date_start,omitempty"`
// If set, returns all invoices with a creation date less than or euqal to // If set, returns all invoices with a creation date less than or equal to
// it. Measured in seconds since the unix epoch. // it. Measured in seconds since the unix epoch.
CreationDateEnd uint64 `protobuf:"varint,8,opt,name=creation_date_end,json=creationDateEnd,proto3" json:"creation_date_end,omitempty"` CreationDateEnd uint64 `protobuf:"varint,8,opt,name=creation_date_end,json=creationDateEnd,proto3" json:"creation_date_end,omitempty"`
} }
@@ -12847,10 +12847,10 @@ type ListPaymentsRequest struct {
// increase the run time of the call significantly on systems that have a lot // increase the run time of the call significantly on systems that have a lot
// of payments, as all of them have to be iterated through to be counted. // of payments, as all of them have to be iterated through to be counted.
CountTotalPayments bool `protobuf:"varint,5,opt,name=count_total_payments,json=countTotalPayments,proto3" json:"count_total_payments,omitempty"` CountTotalPayments bool `protobuf:"varint,5,opt,name=count_total_payments,json=countTotalPayments,proto3" json:"count_total_payments,omitempty"`
// If set, returns all invoices with a creation date greater than or euqal // If set, returns all invoices with a creation date greater than or equal
// to it. Measured in seconds since the unix epoch. // to it. Measured in seconds since the unix epoch.
CreationDateStart uint64 `protobuf:"varint,6,opt,name=creation_date_start,json=creationDateStart,proto3" json:"creation_date_start,omitempty"` CreationDateStart uint64 `protobuf:"varint,6,opt,name=creation_date_start,json=creationDateStart,proto3" json:"creation_date_start,omitempty"`
// If set, returns all invoices with a creation date less than or euqal to // If set, returns all invoices with a creation date less than or equal to
// it. Measured in seconds since the unix epoch. // it. Measured in seconds since the unix epoch.
CreationDateEnd uint64 `protobuf:"varint,7,opt,name=creation_date_end,json=creationDateEnd,proto3" json:"creation_date_end,omitempty"` CreationDateEnd uint64 `protobuf:"varint,7,opt,name=creation_date_end,json=creationDateEnd,proto3" json:"creation_date_end,omitempty"`
} }
+4 -4
View File
@@ -3634,11 +3634,11 @@ message ListInvoiceRequest {
*/ */
bool reversed = 6; bool reversed = 6;
// If set, returns all invoices with a creation date greater than or euqal // If set, returns all invoices with a creation date greater than or equal
// to it. Measured in seconds since the unix epoch. // to it. Measured in seconds since the unix epoch.
uint64 creation_date_start = 7; uint64 creation_date_start = 7;
// If set, returns all invoices with a creation date less than or euqal to // If set, returns all invoices with a creation date less than or equal to
// it. Measured in seconds since the unix epoch. // it. Measured in seconds since the unix epoch.
uint64 creation_date_end = 8; uint64 creation_date_end = 8;
} }
@@ -3842,11 +3842,11 @@ message ListPaymentsRequest {
*/ */
bool count_total_payments = 5; bool count_total_payments = 5;
// If set, returns all invoices with a creation date greater than or euqal // If set, returns all invoices with a creation date greater than or equal
// to it. Measured in seconds since the unix epoch. // to it. Measured in seconds since the unix epoch.
uint64 creation_date_start = 6; uint64 creation_date_start = 6;
// If set, returns all invoices with a creation date less than or euqal to // If set, returns all invoices with a creation date less than or equal to
// it. Measured in seconds since the unix epoch. // it. Measured in seconds since the unix epoch.
uint64 creation_date_end = 7; uint64 creation_date_end = 7;
} }
+4 -4
View File
@@ -1722,7 +1722,7 @@
}, },
{ {
"name": "creation_date_start", "name": "creation_date_start",
"description": "If set, returns all invoices with a creation date greater than or euqal\nto it. Measured in seconds since the unix epoch.", "description": "If set, returns all invoices with a creation date greater than or equal\nto it. Measured in seconds since the unix epoch.",
"in": "query", "in": "query",
"required": false, "required": false,
"type": "string", "type": "string",
@@ -1730,7 +1730,7 @@
}, },
{ {
"name": "creation_date_end", "name": "creation_date_end",
"description": "If set, returns all invoices with a creation date less than or euqal to\nit. Measured in seconds since the unix epoch.", "description": "If set, returns all invoices with a creation date less than or equal to\nit. Measured in seconds since the unix epoch.",
"in": "query", "in": "query",
"required": false, "required": false,
"type": "string", "type": "string",
@@ -2146,7 +2146,7 @@
}, },
{ {
"name": "creation_date_start", "name": "creation_date_start",
"description": "If set, returns all invoices with a creation date greater than or euqal\nto it. Measured in seconds since the unix epoch.", "description": "If set, returns all invoices with a creation date greater than or equal\nto it. Measured in seconds since the unix epoch.",
"in": "query", "in": "query",
"required": false, "required": false,
"type": "string", "type": "string",
@@ -2154,7 +2154,7 @@
}, },
{ {
"name": "creation_date_end", "name": "creation_date_end",
"description": "If set, returns all invoices with a creation date less than or euqal to\nit. Measured in seconds since the unix epoch.", "description": "If set, returns all invoices with a creation date less than or equal to\nit. Measured in seconds since the unix epoch.",
"in": "query", "in": "query",
"required": false, "required": false,
"type": "string", "type": "string",