|
@@ -253,7 +253,7 @@ class DeviceShareView(View):
|
|
|
try:
|
|
|
# redisObj = RedisObject(db=8)
|
|
|
# redisObj.del_data(key='uid_qs_' + userID)
|
|
|
- Device_Info.objects.filter(id__in=ids, primaryUserID=userID).update(isExist=0)
|
|
|
+ Device_Info.objects.filter(id__in=list(ids), primaryUserID=userID).update(isExist=0)
|
|
|
except Exception as e:
|
|
|
return response.json(10, repr(e))
|
|
|
else:
|