Skip to content

Commit

Permalink
Adicionando zoneinfo na posição correta, o bug do ruff foi corrigido
Browse files Browse the repository at this point in the history
  • Loading branch information
dunossauro committed Dec 5, 2024
1 parent 124271a commit ce956ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aulas/06.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ Agora, criaremos uma função para gerar nossos tokens JWT. Criaremos um novo ar

```python title="fast_zero/security.py" linenums="1"
from datetime import datetime, timedelta
from zoneinfo import ZoneInfo

from jwt import encode
from pwdlib import PasswordHash
from zoneinfo import ZoneInfo

SECRET_KEY = 'your-secret-key' # Isso é provisório, vamos ajustar!
ALGORITHM = 'HS256'
Expand Down

0 comments on commit ce956ec

Please sign in to comment.