Добавлены посещённые организации

main
through-your-tears 9 months ago
parent 23656b1a88
commit cdbfa7d888

@ -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)

Loading…
Cancel
Save