Change GPU buy/sell endpoints to avoid path conflicts
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 12s
CLI Tests / test-cli (push) Failing after 1s
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Successful in 1m57s
Python Tests / test-python (push) Successful in 26s

This commit is contained in:
aitbc
2026-04-28 18:12:20 +02:00
parent aeaae04544
commit 0c995f7412
2 changed files with 9 additions and 11 deletions

View File

@@ -302,7 +302,7 @@ def handle_market_buy(args, default_coordinator_url, read_password, render_mappi
print(f"Submitting purchase to {coordinator_url}...")
try:
response = requests.post(f"{coordinator_url}/v1/marketplace/gpu/buy", json=purchase_data, timeout=30)
response = requests.post(f"{coordinator_url}/v1/marketplace/gpu/purchase", json=purchase_data, timeout=30)
if response.status_code in (200, 201):
result = response.json()
print("Purchase submitted successfully")