Skip to content

Commit 23b47f2

Browse files
committed
fix: add folder_id to ToolSerializer initialization
1 parent 0e79d2e commit 23b47f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/tools/serializers/tool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ def import_(self, scope=ToolScope.WORKSPACE):
386386
workspace_id=self.data.get('workspace_id'),
387387
input_field_list=tool.get('input_field_list'),
388388
init_field_list=tool.get('init_field_list', []),
389+
folder_id=self.data.get('workspace_id'),
389390
scope=scope,
390391
is_active=False
391392
)

0 commit comments

Comments
 (0)