Skip to content

Commit 7fd81a8

Browse files
Amrou BellalounaAmrou Bellalouna
authored andcommitted
replace parenthesis with square brackets since tuples are serialized are lists
1 parent e6db607 commit 7fd81a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pydis_site/apps/api/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ class RulesView(APIView):
4242
Example response:
4343
4444
>>> [
45-
... ("Eat candy.", ["candy", "sweets"]),
46-
... ("Wake up at 4 AM.", ["wake_up", "early", "early_bird"]),
47-
... ("Take your medicine.", ["medicine", "health"])
45+
... ["Eat candy.", ["candy", "sweets"]],
46+
... ["Wake up at 4 AM.", ["wake_up", "early", "early_bird"]],
47+
... ["Take your medicine.", ["medicine", "health"]]
4848
... ]
4949
5050
Since some of the the rules require links, this view

0 commit comments

Comments
 (0)