From c64756aed1c27c7aa9963cd9c9a4c1f11afe33e0 Mon Sep 17 00:00:00 2001 From: Artem Date: Fri, 2 May 2025 17:19:31 +0200 Subject: [PATCH] feat: Add HWIDUserController to the API controllers; update __all__ exports fix: Remove unused BulkDeleteUsersByStatusRequestDto and BulkDeleteUsersRequestDto from models --- remnawave_api/controllers/__init__.py | 6 ++++-- remnawave_api/models/__init__.py | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/remnawave_api/controllers/__init__.py b/remnawave_api/controllers/__init__.py index 41e49fe..b7c6853 100644 --- a/remnawave_api/controllers/__init__.py +++ b/remnawave_api/controllers/__init__.py @@ -15,7 +15,8 @@ from .users import UsersController from .users_bulk_actions import UsersBulkActionsController from .users_stats import UsersStatsController from .xray_config import XrayConfigController -from .webhooks import WebhookUtility +from .webhooks import WebhookUtility +from .hwid import HWIDUserController __all__ = [ "APITokensManagementController", @@ -35,5 +36,6 @@ __all__ = [ "UsersBulkActionsController", "UsersStatsController", "XrayConfigController", - "WebhookUtility" + "WebhookUtility", + "HWIDUserController" ] diff --git a/remnawave_api/models/__init__.py b/remnawave_api/models/__init__.py index f6c94b1..1c074ea 100644 --- a/remnawave_api/models/__init__.py +++ b/remnawave_api/models/__init__.py @@ -170,8 +170,6 @@ __all__ = [ "BulkAllUpdateUsersRequestDto", "BulkAllUpdateUsersResponseDto", "UpdateUserFields", - "BulkDeleteUsersByStatusRequestDto", - "BulkDeleteUsersRequestDto", "BulkResponseDto", "BulkUpdateUsersInboundsRequestDto", "FindAllApiTokensResponseDto",