fix: fastapi status import (#2408)
should use `from http import HTTPStatus`
This commit is contained in:
parent
8aef6cd416
commit
4bafe97167
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue