Skip to content

Commit d4b69da

Browse files
committed
Update default.py
1 parent 3f33736 commit d4b69da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/web/endpoints/default.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from fastapi import APIRouter, Depends, HTTPException
55
from fastapi.responses import FileResponse, JSONResponse
66

7-
from app.shared.schemas import UsageResponse
87
from app.shared.user_groups import GroupInfo
98
from app.web.config import BREAKING_CHANGES, VERSION
109
from app.web.db.user_state import UserState
@@ -51,7 +50,7 @@ def get_user_permissions(
5150
)
5251
def get_user_usage(
5352
user: UserState = Depends(get_user_state),
54-
) -> UsageResponse:
53+
) -> dict:
5554
if not user.active:
5655
raise HTTPException(
5756
status_code=HTTPStatus.FORBIDDEN, detail="User is not active."

0 commit comments

Comments
 (0)