mirror of
https://github.com/bryangerlach/rdgen.git
synced 2026-01-20 14:00:58 +00:00
fix delete zip issue
This commit is contained in:
@@ -464,7 +464,8 @@ def save_custom_client(request):
|
||||
|
||||
def cleanup_secrets(request):
|
||||
# Pass the UUID as a query param or in JSON body
|
||||
my_uuid = request.POST.get('uuid')
|
||||
data = json.loads(request.body)
|
||||
my_uuid = data.get('uuid')
|
||||
|
||||
if not my_uuid:
|
||||
return HttpResponse("Missing UUID", status=400)
|
||||
|
||||
Reference in New Issue
Block a user