Skip to content

Commit

Permalink
feat(list): delete token_pass from WD0604 and WD0605
Browse files Browse the repository at this point in the history
  • Loading branch information
CapooL committed Sep 16, 2023
1 parent 3085844 commit b6ea6eb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion hinghwa-dict-backend/word/lists/view/manage_all_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def post(self, request):

# WD0605查找词单(多)
def get(self, request):
token_pass(request.headers, 0)
total_list = List.objects.all()
result = []
for list in total_list:
Expand Down
1 change: 0 additions & 1 deletion hinghwa-dict-backend/word/lists/view/manage_single_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def put(self, request, list_id):

# WD0604查看词单(单)
def get(self, request, list_id):
token_pass(request.headers, 0)
list = List.objects.filter(id=list_id)
if not list.exists():
raise ListsNotFoundException()
Expand Down

0 comments on commit b6ea6eb

Please sign in to comment.