Skip to content

Commit

Permalink
fix entitlements check
Browse files Browse the repository at this point in the history
  • Loading branch information
catgirlinspace committed Jul 24, 2024
1 parent 52ec735 commit debe151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splatnet_assets/templatetags/mask_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_color(context, uploader: User, use_random_color: bool = False):
if context.get('color'):
return ''
user = context.get('user')
if "favorite-color" in user.entitlements:
if "favorite-color" in uploader.entitlements:
context['color'] = uploader.favorite_color
elif user and user.is_authenticated:
context['color'] = context['user'].favorite_color
Expand Down

0 comments on commit debe151

Please sign in to comment.