This commit is contained in:
ITQ committed 2024-04-02 22:09:53 +03:00
1 parent d0523ba3a9
commit 802c28ebb6
4 files changed
+8 -9

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ class RegisterUsersFromExcelView(APIView):
)
excel_file = request.FILES.get("excel_file")
if not excel_file:
if excel_file is None:
return Response(
{"error": "No Excel file provided"},
status=status.HTTP_400_BAD_REQUEST,