Skip to content

Commit

Permalink
Fix the wrong function name in the gptcache server
Browse files Browse the repository at this point in the history
  • Loading branch information
SimFG committed Nov 22, 2023
1 parent 7ea9b98 commit e49e9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptcache_server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def get_cache(cache_data: CacheData) -> CacheData:


@app.post("/flush")
async def get_cache() -> str:
async def flush_cache() -> str:
cache.flush()
return "successfully flush the cache"

Expand Down

0 comments on commit e49e9b1

Please sign in to comment.