Skip to content

Commit 8c95f13

Browse files
D0rs4nMarkKoz
andauthored
Enhance code, documentation consistency in AoC related code
Co-authored-by: Mark <[email protected]>
1 parent d18d019 commit 8c95f13

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pydis_site/apps/api/viewsets/bot/aoc_completionist_block.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AocCompletionistBlockViewSet(
2323
>>> [
2424
... {
2525
... "user": 2,
26-
... "is_blocked": False
26+
... "is_blocked": False,
2727
... "reason": "Too good to be true"
2828
... }
2929
... ]
@@ -36,7 +36,7 @@ class AocCompletionistBlockViewSet(
3636
>>>
3737
... {
3838
... "user": 2,
39-
... "is_blocked": False
39+
... "is_blocked": False,
4040
... "reason": "Too good to be true"
4141
... }
4242
@@ -50,7 +50,7 @@ class AocCompletionistBlockViewSet(
5050
#### Request body
5151
>>> {
5252
... "user": int,
53-
... "is_blocked": bool
53+
... "is_blocked": bool,
5454
... "reason": string
5555
... }
5656
@@ -60,6 +60,7 @@ class AocCompletionistBlockViewSet(
6060
6161
### DELETE /bot/aoc-completionist-blocks/<user__id:int>
6262
Deletes the AoC Completionist block item with the given `user__id`.
63+
6364
#### Status codes
6465
- 204: returned on success
6566
- 404: if the AoC Completionist block with the given user__id does not exist

pydis_site/apps/api/viewsets/bot/aoc_link.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class AocAccountLinkViewSet(
5959
6060
### DELETE /bot/aoc-account-links/<user__id:int>
6161
Deletes the AoC account link item with the given `user__id`.
62+
6263
#### Status codes
6364
- 204: returned on success
6465
- 404: if the AoC account link with the given user__id does not exist

0 commit comments

Comments
 (0)