Skip to content

Commit e33900d

Browse files
committed
chore: change the indexing from + 1 to normal
1 parent 249ef89 commit e33900d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

express/properties/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def to_array_with_ids(array):
2626
Returns:
2727
list
2828
"""
29-
return [{"id": index + 1, "value": value} for index, value in enumerate(array)]
29+
return [{"id": index, "value": value} for index, value in enumerate(array)]

0 commit comments

Comments
 (0)