@@ -107,7 +107,7 @@ def shot_update(request, administrator): |
||
107 | 107 |
def shot_delete(request, administrator): |
108 | 108 |
shot_id = request.POST.get('shot_id', '') |
109 | 109 |
|
110 |
- TenancyShotInfo.objects.filter(shot_id=shot_id).update(admin_id=admin_id, status=False) |
|
110 |
+ TenancyShotInfo.objects.filter(shot_id=shot_id).update(admin_id=administrator.admin_id, status=False) |
|
111 | 111 |
|
112 | 112 |
return response() |
113 | 113 |
|