fix: fastapi status import (#2408)

should use `from http import HTTPStatus`
This commit is contained in:
dni ⚡ 2024-04-12 15:56:54 +02:00 committed by GitHub
parent 8aef6cd416
commit 4bafe97167
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,4 @@
from http import HTTPStatus
from typing import (
List,
Optional,
@ -9,9 +10,6 @@ from fastapi import (
Depends,
HTTPException,
)
from fastapi import (
status as HTTPStatus,
)
from loguru import logger
from lnbits.core.db import core_app_extra