Skip to content

Commit 63e124c

Browse files
committed
Limit response size in simple query db
1 parent e231f28 commit 63e124c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

budgetkey_api/modules/simpledb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def simple_search(self, table):
285285
)
286286
ret = self.trim_json(ret, 'search_results', 'num_results', self.MAX_PAYLOAD_SIZE)
287287
return Response(ret, mimetype='application/json')
288-
288+
289289

290290
def setup_simpledb(app, es_blueprint, db_blueprint):
291291
sdb = SimpleDBBlueprint(os.environ['DATABASE_READONLY_URL'], es_blueprint, db_blueprint)

0 commit comments

Comments
 (0)