Skip to content

Commit

Permalink
changed the formatted json in baseapimanager to dict obj
Browse files Browse the repository at this point in the history
  • Loading branch information
caldera authored and caldera committed Jun 25, 2023
1 parent 5a6afe6 commit 7d1fe03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/api/v2/managers/base_api_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ def find_and_dump_objects(self, ram_key: str, search: dict = None, sort: str = N
"repeatable": node.get("repeatable", False),
"access": node.get("access", {})
}

json_data = json.dumps(formatted_node)
formatted_nodes.append(json_data)
objct = json.loads(json_data)
formatted_nodes.append(objct)


# Needs to be updated to work with neo4j
Expand Down

0 comments on commit 7d1fe03

Please sign in to comment.