Skip to content

Commit

Permalink
Merge pull request #37 from w-h-a/order-enum
Browse files Browse the repository at this point in the history
fix: change order complete status to 3
  • Loading branch information
w-h-a authored Jul 8, 2024
2 parents 4872220 + 22a351d commit d1cecd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proto/order/order.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ option go_package = "github.com/w-h-a/pkg/proto/order";
enum Status {
// order created but ticket is not reserved
CREATED = 0;
// the order fails to reserve the ticket, the user cancelled the order, or the order expires
// the order fails to reserve the ticket or the user cancelled the order
CANCELLED = 1;
// order is awaiting payment and has reserved the ticket
AWAITING_PAYMENT = 2;
// the order has reserved the ticket and the user has provided payment
COMPLETE = 4;
COMPLETE = 3;
}

message Order {
Expand Down

0 comments on commit d1cecd6

Please sign in to comment.