feat: add API views for user registration and OTP authentication services
Some checks failed
Deploy Beta (NATIVE) / deploy (push) Failing after 33s

This commit is contained in:
vickytechkey 2026-10-03 11:50:39 +05:30
parent 1788030b7b
commit 86f1e2e86a

View file

@ -615,6 +615,12 @@ class PresignedUrlView(APIView):
ext = 'jpeg'
elif 'jpg' in content_type:
ext = 'jpg'
elif 'mp4' in content_type:
ext = 'mp4'
elif 'quicktime' in content_type or 'mov' in content_type:
ext = 'mov'
elif 'webm' in content_type:
ext = 'webm'
elif '/' in content_type:
ext = content_type.split('/')[-1]
@ -805,6 +811,7 @@ class BulkUploadView(APIView):
stock=stock_val,
sku=sku,
image=image_url,
description=p_data.get('description', ''),
status='pending',
is_active=True
)