Skip to content

Commit a3c42a1

Browse files
committed
remove forgotten 'use_rest' condition
1 parent 3bcd4fd commit a3c42a1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ayon_api/server_api.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -4931,10 +4931,7 @@ def get_folders(
49314931
if active is not None and active is not folder["active"]:
49324932
continue
49334933

4934-
if use_rest:
4935-
folder = self.get_rest_folder(project_name, folder["id"])
4936-
else:
4937-
self._convert_entity_data(folder)
4934+
self._convert_entity_data(folder)
49384935

49394936
if own_attributes:
49404937
fill_own_attribs(folder)

0 commit comments

Comments
 (0)