commit validation imei for mobiles

This commit is contained in:
Cayo Puigdefabregas 2022-07-28 18:12:49 +02:00
parent d5588bc871
commit b0beff5b1d
1 changed files with 2 additions and 1 deletions

View File

@ -291,7 +291,8 @@ class Mobile(Device):
@pre_load
def convert_check_imei(self, data):
if data.get('imei', None):
data['imei'] = int(imei.validate(data['imei']))
# data['imei'] = int(imei.validate(data['imei']))
data['imei'] = int(data['imei'])
return data
@pre_load