Skip to content

Commit

Permalink
feat: history
Browse files Browse the repository at this point in the history
  • Loading branch information
YangGuoXuan-0503 committed Nov 4, 2023
1 parent ae59d7b commit 33c43ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seahub/seadoc/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,11 +563,11 @@ def get(self, request, file_uuid):
commit_id = repo.head_cmmt_id

try:
avatar_size = int(request.GET.get('avatar_size', 32))
avatar_size = int(request.GET.get('avatar_size', AVATAR_DEFAULT_SIZE))
page = int(request.GET.get('page', 1))
per_page = int(request.GET.get('per_page', 25))
except ValueError:
avatar_size = 32
avatar_size = AVATAR_DEFAULT_SIZE
page = 1
per_page = 25

Expand Down

0 comments on commit 33c43ca

Please sign in to comment.