From 8a3b38c930d4933d61d65fc7f401b6fa2fef7baa Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 23 Aug 2021 12:16:11 +0200 Subject: [PATCH] fdfd --- files/routes/giphy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/giphy.py b/files/routes/giphy.py index 28b2bfadf..558247960 100644 --- a/files/routes/giphy.py +++ b/files/routes/giphy.py @@ -12,7 +12,7 @@ GIPHY_KEY = environ.get('GIPHY_KEY').rstrip() def giphy(): searchTerm = request.args.get("searchTerm", "") - limit = int(request.args.get("limit", "")) + limit = int(request.args.get("limit", 48)) if searchTerm and limit: url = f"https://api.giphy.com/v1/gifs/search?q={searchTerm}&api_key={GIPHY_KEY}&limit={limit}" elif searchTerm and not limit: