mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 09:54:21 +01:00
fix: fastapi status import (#2408)
should use `from http import HTTPStatus`
This commit is contained in:
parent
8aef6cd416
commit
4bafe97167
@ -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…
Reference in New Issue
Block a user