From 8cfddd7882a6f3c28d721ec00b066b362811f0e7 Mon Sep 17 00:00:00 2001 From: moanos Date: Sat, 24 May 2025 17:56:36 +0200 Subject: [PATCH] refactor: formatting --- src/fellchensammlung/api/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fellchensammlung/api/views.py b/src/fellchensammlung/api/views.py index 20a2f9d..767778e 100644 --- a/src/fellchensammlung/api/views.py +++ b/src/fellchensammlung/api/views.py @@ -250,6 +250,7 @@ class RescueOrganizationApiView(APIView): return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST) + class AddImageApiView(APIView): permission_classes = [IsAuthenticated] @@ -295,6 +296,7 @@ class SpeciesApiView(APIView): serializer = SpeciesSerializer(species, many=True, context={"request": request}) return Response(serializer.data, status=status.HTTP_200_OK) + class LocationApiView(APIView): permission_classes = [IsAuthenticated] @@ -352,5 +354,3 @@ class LocationApiView(APIView): {"message": "Location created successfully!", "id": location.pk}, status=status.HTTP_201_CREATED, ) - -