diff --git a/src/jwtauth/views.py b/src/jwtauth/views.py index f15c77e..575784c 100644 --- a/src/jwtauth/views.py +++ b/src/jwtauth/views.py @@ -104,6 +104,7 @@ class RegistrationAPIView(APIView): serializer.is_valid(raise_exception=True) serializer.save() ProfileRepository.create(user=UserRepository.get(serializer.data['email'])) + QRCodeRepository.create(user=UserRepository.get(serializer.data['email'])) return Response(serializer.data, status=status.HTTP_201_CREATED)