fix public block list not working because of old kwarg format

master
Kevin Froman 2020-08-20 20:00:44 -05:00
parent 2cf7a8c8b3
commit fd73f63ecd
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ from .. import apiutils
def get_public_block_list(publicAPI, request):
# Provide a list of our blocks, with a date offset
dateAdjust = request.args.get('date')
bList = blockmetadb.get_block_list(dateRec=dateAdjust)
bList = blockmetadb.get_block_list(date_rec=dateAdjust)
share_list = ''
if config.get('general.hide_created_blocks', True):
for b in publicAPI.hideBlocks: