Skip to content

Commit 4b5e23b

Browse files
committed
fix md5
1 parent a81de53 commit 4b5e23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inference/core/roboflow_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def _prepare_workflow_response_cache_key(
810810
workflow_id: str,
811811
) -> str:
812812
api_key_hash = (
813-
sha512(api_key.encode("utf-8")).hexdigest()
813+
hashlib.md5(api_key.encode("utf-8")).hexdigest()
814814
if api_key is not None
815815
else "None"
816816
)

0 commit comments

Comments
 (0)