Commit 4f0822e7 authored by arun.uday's avatar arun.uday

update

parent 2cb67346
...@@ -9,9 +9,9 @@ def gen_list(dict_data): ...@@ -9,9 +9,9 @@ def gen_list(dict_data):
def cursor_to_list(cursor): def cursor_to_list(cursor):
try: try:
dict_data = gen_list(cursor) list_data = gen_list(cursor)
# returning the data to api # returning the data to api
# return dict_data # return dict_data
return dict_data return list_data
except Exception as e: except Exception as e:
logger.error("Some exception occurred while trying to run the cursor: ", e) logger.error("Some exception occurred while trying to run the cursor: ", e)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment