Skip to content

Commit 998975a

Browse files
authored
fix typo
1 parent 49bc05f commit 998975a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

fastapi_rest_jsonapi/exceptions/json_api.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ def __init__(
5151
@property
5252
def _dict(self):
5353

54-
return {"status_code": self.status_code, "source": self.source, "tittle": self.title, "detail": self._detail}
54+
return {
55+
"status_code": self.status_code,
56+
"source": self.source,
57+
"title": self.title,
58+
"detail": self._detail,
59+
}
5560

5661

5762
class UnsupportedFeatureORM(HTTPException):

0 commit comments

Comments
 (0)