Skip to content

Commit

Permalink
Merge pull request #327 from steemit/fix_website_length_over_100
Browse files Browse the repository at this point in the history
fix #321 website length over 100
  • Loading branch information
yuekun0707 committed Dec 5, 2023
2 parents 31e3cee + 7119a23 commit aa42d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hive/indexer/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _sql(cls, account, cached_at):
'display_name': profile['name'],
'about': profile['about'],
'location': profile['location'],
'website': profile['website'],
'website': profile['website'][0:100] if len(profile['website']) > 100 else profile['website'],
'profile_image': profile['profile_image'],
'cover_image': profile['cover_image'],

Expand Down

0 comments on commit aa42d0a

Please sign in to comment.