fix: Importing an application that references tools from the tool store will create tools from the tool store in the new workspace (#3568)
parent
d8c35fffd7
commit
1a2a02b808
|
|
@ -549,6 +549,7 @@ class ApplicationSerializer(serializers.Serializer):
|
||||||
user_id=user_id,
|
user_id=user_id,
|
||||||
name=tool.get('name'),
|
name=tool.get('name'),
|
||||||
code=tool.get('code'),
|
code=tool.get('code'),
|
||||||
|
template_id=tool.get('template_id'),
|
||||||
input_field_list=tool.get('input_field_list'),
|
input_field_list=tool.get('input_field_list'),
|
||||||
is_active=tool.get('is_active'),
|
is_active=tool.get('is_active'),
|
||||||
scope=ToolScope.WORKSPACE,
|
scope=ToolScope.WORKSPACE,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue