Skip to content

Commit d3bc015

Browse files
committed
fix: Get all time-entries as admin user #122
1 parent b0ac67f commit d3bc015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

time_tracker_api/time_entries/time_entries_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def find_all(
140140
)
141141

142142
if time_entries:
143-
projects_id = [project.project_id for project in time_entries]
143+
projects_id = [str(project.project_id) for project in time_entries]
144144
p_ids = (
145145
str(tuple(projects_id)).replace(",", "")
146146
if len(projects_id) == 1

0 commit comments

Comments
 (0)