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 (
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue