From 4097c82d8b762f5a97aa35dd0ec426b6ddad21c0 Mon Sep 17 00:00:00 2001 From: Phil Varner Date: Mon, 10 Feb 2025 10:53:18 -0500 Subject: [PATCH] rename status user_cancelled to user_canceled --- CHANGELOG.md | 2 +- src/stapi_fastapi/models/order.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f3d18e..f1fce64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Added token-based pagination to `GET /orders`, `GET /products`, `GET /orders/{order_id}/statuses`, and `POST /products/{product_id}/opportunities`. - Optional and Extension STAPI Status Codes "scheduled", "held", "processing", "reserved", "tasked", - and "user_cancelled" + and "user_canceled" ### Changed diff --git a/src/stapi_fastapi/models/order.py b/src/stapi_fastapi/models/order.py index fa0d4e8..36d6bb5 100644 --- a/src/stapi_fastapi/models/order.py +++ b/src/stapi_fastapi/models/order.py @@ -40,7 +40,7 @@ class OrderStatusCode(StrEnum): processing = "processing" reserved = "reserved" tasked = "tasked" - user_cancelled = "user_cancelled" + user_canceled = "user_canceled" class OrderStatus(BaseModel):