Skip to content

Commit 6dcbd82

Browse files
committed
update description cut length
1 parent 3adda51 commit 6dcbd82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

starred/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '4.0.0'
1+
VERSION = '4.0.1'

starred/github.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_user_starred_by_username(token, username, query=None):
5858

5959
for repo in data['data']['user']['starredRepositories']['nodes']:
6060
name = repo['nameWithOwner']
61-
description = repo['description'][:30] if repo['description'] else ''
61+
description = repo['description'][:200] if repo['description'] else ''
6262
language = repo['languages']['edges'][0]['node']['name'] if repo['languages']['edges'] else ''
6363
url = repo['url']
6464
stargazer_count = repo['stargazerCount']

0 commit comments

Comments
 (0)