Skip to content

Commit

Permalink
fix: sharing reports (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
cabreraalex authored Oct 11, 2023
1 parent a5e6e25 commit 7a210b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions backend/zeno_backend/database/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ def reports(user: User) -> list[Report]:
else list(
map(lambda linked: str(linked[0]), linked_projects)
),
editor=res[4],
public=res[5],
description=res[6],
editor=res[3],
public=res[4],
description=res[5],
)
)

Expand Down Expand Up @@ -287,9 +287,9 @@ def reports(user: User) -> list[Report]:
else list(
map(lambda linked: str(linked[0]), linked_projects)
),
editor=res[4],
public=res[5],
description=res[6],
editor=res[3],
public=res[4],
description=res[5],
)
)
org_reports = list(
Expand Down

0 comments on commit 7a210b8

Please sign in to comment.