Skip to content

Commit

Permalink
update description cut length
Browse files Browse the repository at this point in the history
  • Loading branch information
maguowei committed May 6, 2022
1 parent 3adda51 commit 6dcbd82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion starred/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '4.0.0'
VERSION = '4.0.1'
2 changes: 1 addition & 1 deletion starred/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_user_starred_by_username(token, username, query=None):

for repo in data['data']['user']['starredRepositories']['nodes']:
name = repo['nameWithOwner']
description = repo['description'][:30] if repo['description'] else ''
description = repo['description'][:200] if repo['description'] else ''
language = repo['languages']['edges'][0]['node']['name'] if repo['languages']['edges'] else ''
url = repo['url']
stargazer_count = repo['stargazerCount']
Expand Down

0 comments on commit 6dcbd82

Please sign in to comment.