From d1d15534fc3ecd2ea61d091ec03eab2c09b32385 Mon Sep 17 00:00:00 2001 From: zumuta Date: Sun, 22 Dec 2024 15:24:03 +0100 Subject: [PATCH] fix: wrong UserEntity import --- backend/src/kwai/api/v1/portal/endpoints/applications.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/kwai/api/v1/portal/endpoints/applications.py b/backend/src/kwai/api/v1/portal/endpoints/applications.py index 15effeeb2..882babc79 100644 --- a/backend/src/kwai/api/v1/portal/endpoints/applications.py +++ b/backend/src/kwai/api/v1/portal/endpoints/applications.py @@ -1,9 +1,11 @@ """Module that implements applications endpoints.""" + from fastapi import APIRouter, Depends, HTTPException, status from kwai.api.dependencies import create_database, get_current_user from kwai.api.schemas.application import ApplicationDocument from kwai.core.json_api import Meta +from kwai.modules.identity.users.user import UserEntity from kwai.modules.portal.applications.application_db_repository import ( ApplicationDbRepository, ) @@ -16,7 +18,6 @@ UpdateApplication, UpdateApplicationCommand, ) -from tests.core.domain.test_entity import UserEntity router = APIRouter()