This commit is contained in:
j3d1 2024-07-17 18:43:40 +02:00
parent eeed8b69de
commit 5453143ecb

View file

@ -22,7 +22,7 @@ class ContainerViewSet(viewsets.ModelViewSet):
@api_view(['GET']) @api_view(['GET'])
@permission_classes([IsAuthenticated]) @permission_classes([IsAuthenticated])
@permission_required('view_item', raise_exception=True) #@permission_required('view_item', raise_exception=True)
def search_items(request, event_slug, query): def search_items(request, event_slug, query):
try: try:
event = Event.objects.get(slug=event_slug) event = Event.objects.get(slug=event_slug)