fix: infinite recursion due to a typo

This commit is contained in:
Éloi Rivard 2024-04-07 17:43:20 +02:00
parent ebf790a5bd
commit e317780e1d
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184

View file

@ -315,7 +315,7 @@ class User(Model):
This does not include the :attr:`writable
<canaille.core.models.User.writable_fields>` fields.
"""
if self.readable_fields is None:
if self._readable_fields is None:
self.load_permissions()
return self._readable_fields