Skip to content

Commit d1f1f5b

Browse files
committed
fix: Importing an application that references tools from the tool store will create tools from the tool store in the new workspace
1 parent d8c35ff commit d1f1f5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/application/serializers/application.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ def to_tool(tool, workspace_id, user_id):
549549
user_id=user_id,
550550
name=tool.get('name'),
551551
code=tool.get('code'),
552+
template_id=tool.get('template_id'),
552553
input_field_list=tool.get('input_field_list'),
553554
is_active=tool.get('is_active'),
554555
scope=ToolScope.WORKSPACE,

0 commit comments

Comments
 (0)