Skip to content

Commit 13f78c5

Browse files
committed
fix
1 parent d066e69 commit 13f78c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: functions/technologies/libs/queries.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ def list_data(params):
5050
item = doc.to_dict()
5151
data.add(item['technology'])
5252

53-
return Result(result=list(data).sort())
53+
data = list(data)
54+
data.sort()
5455

5556
else:
5657
data = []
5758
for doc in documents:
5859
data.append(Presenters.technology(doc.to_dict()))
5960

60-
return Result(result=data)
61+
return Result(result=data)

0 commit comments

Comments
 (0)