Skip to content

Commit

Permalink
Merge pull request #42 from w-h-a/order-contract
Browse files Browse the repository at this point in the history
refactor: change the order contract again
  • Loading branch information
w-h-a committed Jul 9, 2024
2 parents e487de4 + 97cfd33 commit e4a3425
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
55 changes: 28 additions & 27 deletions proto/order/order.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions proto/order/order.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ message Order {

// create request/response
message CreateRequest {
string ticket = 1;
string ticketKey = 1;
}

message CreateResponse {}
Expand All @@ -41,7 +41,7 @@ message ReadResponse {

// delete request/response
message DeleteRequest {
string order = 1;
string ticketKey = 1;
}

message DeleteResponse {}

0 comments on commit e4a3425

Please sign in to comment.