Spaces:
Running
Running
camphong24032002
commited on
Commit
·
e85aef4
1
Parent(s):
735c3a8
fix: new approach to update
Browse files- services/indicator.py +1 -1
services/indicator.py
CHANGED
@@ -50,7 +50,7 @@ class Indicator:
|
|
50 |
return {"message": f"Caught error {e}."}
|
51 |
|
52 |
@staticmethod
|
53 |
-
def update_daily_price() -> dict:
|
54 |
global updating_price
|
55 |
if updating_price:
|
56 |
print("The data has been updating.")
|
|
|
50 |
return {"message": f"Caught error {e}."}
|
51 |
|
52 |
@staticmethod
|
53 |
+
async def update_daily_price() -> dict:
|
54 |
global updating_price
|
55 |
if updating_price:
|
56 |
print("The data has been updating.")
|