refactor: rename points earn endpoint to /points/earn for clarity
Some checks failed
Some checks failed
Use /points/earn and /points/redeem consistently for explicit intent. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -647,7 +647,7 @@ def void_stamps(
|
||||
# =============================================================================
|
||||
|
||||
|
||||
@store_router.post("/points", response_model=PointsEarnResponse)
|
||||
@store_router.post("/points/earn", response_model=PointsEarnResponse)
|
||||
def earn_points(
|
||||
request: Request,
|
||||
data: PointsEarnRequest,
|
||||
|
||||
Reference in New Issue
Block a user