fix public block list not working because of old kwarg format
parent
2cf7a8c8b3
commit
fd73f63ecd
|
@ -29,7 +29,7 @@ from .. import apiutils
|
||||||
def get_public_block_list(publicAPI, request):
|
def get_public_block_list(publicAPI, request):
|
||||||
# Provide a list of our blocks, with a date offset
|
# Provide a list of our blocks, with a date offset
|
||||||
dateAdjust = request.args.get('date')
|
dateAdjust = request.args.get('date')
|
||||||
bList = blockmetadb.get_block_list(dateRec=dateAdjust)
|
bList = blockmetadb.get_block_list(date_rec=dateAdjust)
|
||||||
share_list = ''
|
share_list = ''
|
||||||
if config.get('general.hide_created_blocks', True):
|
if config.get('general.hide_created_blocks', True):
|
||||||
for b in publicAPI.hideBlocks:
|
for b in publicAPI.hideBlocks:
|
||||||
|
|
Loading…
Reference in New Issue