* Allow PoizonAPI for authorized users only

This commit is contained in:
Phil Zhitnikov 2023-11-03 00:39:53 +04:00
parent 9873c18810
commit f9b007ef20

View File

@ -368,7 +368,6 @@ class CDEKAPI(viewsets.GenericViewSet):
class PoizonAPI(viewsets.GenericViewSet):
client = PoizonClient(settings.POIZON_TOKEN)
permission_classes = [permissions.AllowAny]
@action(url_path='good', detail=False, methods=['post'])
def get_good_info(self, request, *args, **kwargs):