Skip to content

Commit 9e0f599

Browse files
committed
minor change
1 parent 1ca4006 commit 9e0f599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastapi_elasticsearch_middleware/elasticsearch_middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,4 @@ def limit_array_length(self, data, max_length=3):
166166
elif isinstance(data, list) and len(data) > max_length:
167167
data = data[:max_length]
168168
data.append(f'[...] array limited in {max_length} objects')
169-
return data
169+
return data

0 commit comments

Comments
 (0)