|
@@ -363,7 +363,8 @@ class UserDeviceShareView(View):
|
|
|
if not all([wallpaper_id]):
|
|
|
return response.json(444)
|
|
|
try:
|
|
|
- if int(wallpaper_id) in [1, 2, 3]:
|
|
|
+ wallpaper_id = int(wallpaper_id)
|
|
|
+ if wallpaper_id in [1, 2, 3]:
|
|
|
return response.json(176)
|
|
|
device_wallpaper_qs = DeviceWallpaper.objects.filter(id=wallpaper_id)
|
|
|
device_wallpaper = device_wallpaper_qs.values("obj_prefix", "obj_name", "uid", "parent_id")
|