Skip to content

Commit 3f8dc54

Browse files
committed
fix(order): validate status checkedout
1 parent cfa6492 commit 3f8dc54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/domain/order/validateorder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ func validateStatus(s Status) error {
3232
case StatusPrepared:
3333
case StatusDelivered:
3434
case StatusCanceled:
35+
case StatusCheckedOut:
3536
default:
3637
return fmt.Errorf("invalid status")
3738
}

0 commit comments

Comments
 (0)