diff --git a/web/api/v0/__init__.py b/web/api/v0/__init__.py index 85bfde4b6..c3d598334 100644 --- a/web/api/v0/__init__.py +++ b/web/api/v0/__init__.py @@ -343,6 +343,7 @@ def get(self, ipv4: IPv4Address | IPv6Address) -> ResponseReturnValue: api.add_resource(UserByIPResource, '/user/from-ip') + class MPSKSClientsResource(Resource): def get(self, user_id: int) -> ResponseReturnValue: user = get_user_or_404(user_id) @@ -361,6 +362,7 @@ def get(self, user_id: int) -> ResponseReturnValue: api.add_resource(MPSKSClientsResource, "/user//get-mpsks") + class MPSKSClientAddResource(Resource): @use_kwargs( {