We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d559fb commit 3f00fefCopy full SHA for 3f00fef
app/main.py
@@ -187,7 +187,7 @@ async def calculate_three_hours_of_data(keys: Keys) -> Dict[str, str]:
187
188
189
@app.post('/refresh')
190
-async def bitcoin(background_tasks: BackgroundTasks, keys: Keys = Depends(make_keys)):
+async def refresh(background_tasks: BackgroundTasks, keys: Keys = Depends(make_keys)):
191
async with httpx.AsyncClient() as client:
192
data = await client.get(SENTIMENT_API_URL)
193
await persist(keys, data.json())
0 commit comments