Skip to content

Commit d5cfd56

Browse files
loaders: fix flask 2 compatibility
1 parent c4a3717 commit d5cfd56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invenio_records_rest/loaders/marshmallow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __next__(self):
7575
"""Get next file item."""
7676
return next(self._it)
7777

78-
def get_body(self, environ=None):
78+
def get_body(self, environ=None, scope=None):
7979
"""Get the request body."""
8080
body = dict(
8181
status=self.code,

0 commit comments

Comments
 (0)