Compare commits

..

No commits in common. "75fdb8e847bb45848c997a941e98ef74a6523e57" and "ce99aef2892ff329f47aebb05878fef806553411" have entirely different histories.

View File

@ -185,7 +185,7 @@ type CreatePaymentRequest struct {
type CreatePaymentOrderItemRequest struct {
OrderItemID uuid.UUID `json:"order_item_id" validate:"required"`
Amount float64 `json:"amount" validate:"min=0"`
Amount float64 `json:"amount" validate:"required,min=0"`
}
type PaymentResponse struct {