X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c15b511c1e9ebb06050f40e98ec554ba6c26cb1b..0ffaeae32918d959e94e2d94e0a020458a409a3a:/src/catalogue/api/fields.py diff --git a/src/catalogue/api/fields.py b/src/catalogue/api/fields.py index 48c00958a..371da38ad 100644 --- a/src/catalogue/api/fields.py +++ b/src/catalogue/api/fields.py @@ -25,7 +25,8 @@ class BookLiked(serializers.ReadOnlyField): class EmbargoURLField(AbsoluteURLField): def to_representation(self, value): request = self.context['request'] - if Membership.is_active_for(request.user): + # FIXME: See #3955. + if True or Membership.is_active_for(request.user): return super().to_representation(value) else: return None