We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 376c53c + 44b811f commit 525a70cCopy full SHA for 525a70c
api/preprints/serializers.py
@@ -21,6 +21,7 @@
21
HideIfPreprint,
22
LinkedNodesRelationshipSerializer,
23
)
24
+from api.base.settings import BULK_SETTINGS
25
from api.base.utils import absolute_reverse, get_user_auth
26
from api.base.parsers import NO_DATA_ERROR
27
from api.nodes.serializers import (
@@ -615,6 +616,7 @@ class PreprintContributorsSerializer(NodeContributorsSerializer):
615
616
617
class Meta:
618
type_ = 'contributors'
619
+ bulk_limit = BULK_SETTINGS.get('PREPRINT_CONTRIBUTORS_BULK_LIMIT', BULK_SETTINGS['DEFAULT_BULK_LIMIT'])
620
621
def get_absolute_url(self, obj):
622
return absolute_reverse(
0 commit comments