Skip to content

Commit 542b7e3

Browse files
fix: flowkitclient deprecated params (#214)
1 parent f167855 commit 542b7e3

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

pkg/clients/flowkitclient/flowkitclient.go

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,16 @@ func ListFunctionsAndSaveToInteralStates(url string, apiKey string) (err error)
175175

176176
// Save the function to internal states
177177
AvailableFunctions[function.Name] = &sharedtypes.FunctionDefinition{
178-
Name: function.Name,
179-
FlowkitUrl: url,
180-
ApiKey: apiKey,
181-
DisplayName: function.DisplayName,
182-
Description: function.Description,
183-
Category: function.Category,
184-
Inputs: inputs,
185-
Outputs: outputs,
186-
Type: "go",
178+
Name: function.Name,
179+
FlowkitUrl: url,
180+
ApiKey: apiKey,
181+
DisplayName: function.DisplayName,
182+
Description: function.Description,
183+
Category: function.Category,
184+
DeprecatedParams: function.DeprecatedParams,
185+
Inputs: inputs,
186+
Outputs: outputs,
187+
Type: "go",
187188
}
188189
// add the category to available categories
189190
if AvailableCategories != nil && function.Category != "" {

0 commit comments

Comments
 (0)