Skip to content

Commit c572df8

Browse files
committed
fix: adjusting leeway from int to float
1 parent 7ced58b commit c572df8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fastapi_clerk_auth/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ClerkConfig(BaseModel):
2929
jwks_lifespan: int = 300
3030
jwks_headers: Optional[dict[str, Any]] = None
3131
jwks_client_timeout: int = 30
32-
leeway: int = 0
32+
leeway: float = 0
3333

3434

3535
class HTTPAuthorizationCredentials(FastAPIHTTPAuthorizationCredentials):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "fastapi_clerk_auth"
3-
version = "0.0.7"
3+
version = "0.0.8"
44
description = "FastAPI Auth Middleware for Clerk (https://clerk.com)"
55
readme = "README.md"
66
requires-python = ">=3.9"

0 commit comments

Comments
 (0)