Skip to content
Snippets Groups Projects
Commit 93a3f7b6 authored by dnns01's avatar dnns01
Browse files

Fix issues in guestbook

parent b9640a67
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ def guestbook(request):
})
response_json = response.json()
return JsonResponse([tweet["id"] for tweet in response_json], safe=False)
return JsonResponse([tweet["id"] for tweet in response_json["data"]], safe=False)
def jojo(request):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment