IdentityIconCacheView was incorrectly looking for image_uri (#155)

This commit is contained in:
Michael Manfre 2022-12-11 11:36:27 -05:00 committed by GitHub
parent f504e9c351
commit b0a8967a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class IdentityIconCacheView(BaseCacheView):
def get_remote_url(self):
self.identity = get_object_or_404(Identity, pk=self.kwargs["identity_id"])
if self.identity.local or not self.identity.image_uri:
if self.identity.local or not self.identity.icon_uri:
raise Http404()
return self.identity.icon_uri