Sort of bug fix
This commit is contained in:
@@ -55,9 +55,11 @@ async def event_import_reg(
|
|||||||
details = details,
|
details = details,
|
||||||
page = page,
|
page = page,
|
||||||
)
|
)
|
||||||
log.info(f'Total record count: {len(event_registrant_li)}')
|
|
||||||
if event_registrant_li: pass
|
if event_registrant_li:
|
||||||
else: return mk_resp(data=None, status_code=404, status_message=f'Checked for registrations in Impexium. No Impexium registrations found.', response=commons.response)
|
log.info(f'Total record count: {len(event_registrant_li)}')
|
||||||
|
else:
|
||||||
|
return mk_resp(data=None, status_code=404, status_message=f'Checked for registrations in Impexium. No Impexium registrations found.', response=commons.response)
|
||||||
|
|
||||||
# return mk_resp(data=len(event_registrant_li), status_code=501, response=commons.response) # Not Implemented
|
# return mk_resp(data=len(event_registrant_li), status_code=501, response=commons.response) # Not Implemented
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user