feat(api): get session-replay changed metadata structure
This commit is contained in:
parent
11b11ff69a
commit
b0ad81e2a7
1 changed files with 2 additions and 2 deletions
|
|
@ -30,10 +30,10 @@ COALESCE((SELECT TRUE
|
|||
|
||||
|
||||
def __group_metadata(session, project_metadata):
|
||||
meta = []
|
||||
meta = {}
|
||||
for m in project_metadata.keys():
|
||||
if project_metadata[m] is not None and session.get(m) is not None:
|
||||
meta.append({project_metadata[m]: session[m]})
|
||||
meta[project_metadata[m]] = session[m]
|
||||
session.pop(m)
|
||||
return meta
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue