update code
Browse files
app.py
CHANGED
|
@@ -467,18 +467,18 @@ def get_all_circuit_breakers():
|
|
| 467 |
def get_gold_historial_price():
|
| 468 |
return CACHE["gold_price"]
|
| 469 |
|
| 470 |
-
@app.get("/
|
| 471 |
def get_silver_historial_price():
|
| 472 |
return CACHE['silver_price']
|
| 473 |
|
| 474 |
-
@app.get("/
|
| 475 |
def get_copper_historial_price():
|
| 476 |
return CACHE['copper_price']
|
| 477 |
|
| 478 |
-
@app.get("/
|
| 479 |
def get_platinum_historial_price():
|
| 480 |
return CACHE['platinum_price']
|
| 481 |
|
| 482 |
-
@app.get("/
|
| 483 |
def get_palladium_historial_price():
|
| 484 |
return CACHE['palladium_price']
|
|
|
|
| 467 |
def get_gold_historial_price():
|
| 468 |
return CACHE["gold_price"]
|
| 469 |
|
| 470 |
+
@app.get("/silver_price")
|
| 471 |
def get_silver_historial_price():
|
| 472 |
return CACHE['silver_price']
|
| 473 |
|
| 474 |
+
@app.get("/copper_price")
|
| 475 |
def get_copper_historial_price():
|
| 476 |
return CACHE['copper_price']
|
| 477 |
|
| 478 |
+
@app.get("/platinum_price")
|
| 479 |
def get_platinum_historial_price():
|
| 480 |
return CACHE['platinum_price']
|
| 481 |
|
| 482 |
+
@app.get("/palladium_price")
|
| 483 |
def get_palladium_historial_price():
|
| 484 |
return CACHE['palladium_price']
|