fix: fastapi status import (#2408)
should use `from http import HTTPStatus`
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
from http import HTTPStatus
|
||||||
from typing import (
|
from typing import (
|
||||||
List,
|
List,
|
||||||
Optional,
|
Optional,
|
||||||
@@ -9,9 +10,6 @@ from fastapi import (
|
|||||||
Depends,
|
Depends,
|
||||||
HTTPException,
|
HTTPException,
|
||||||
)
|
)
|
||||||
from fastapi import (
|
|
||||||
status as HTTPStatus,
|
|
||||||
)
|
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
|
|
||||||
from lnbits.core.db import core_app_extra
|
from lnbits.core.db import core_app_extra
|
||||||
|
|||||||
Reference in New Issue
Block a user