Skip to content

Commit 589bfde

Browse files
committed
fix: Update deprecated HTTP status code
1 parent 58da79c commit 589bfde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cognee/infrastructure/databases/vector/exceptions/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(
1515
self,
1616
message,
1717
name: str = "CollectionNotFoundError",
18-
status_code: int = status.HTTP_422_UNPROCESSABLE_ENTITY,
18+
status_code: int = status.HTTP_422_UNPROCESSABLE_CONTENT,
1919
log=True,
2020
log_level="DEBUG",
2121
):

0 commit comments

Comments
 (0)