Skip to content

Commit

Permalink
fix: Custom function declaration (#7775)
Browse files Browse the repository at this point in the history
* Custom function declaration

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

* Typo in custom functions

Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com>

Co-authored-by: Srinaath Ravichandran <srravich@microsoft.com>
  • Loading branch information
srinaath and Srinaath Ravichandran committed May 26, 2021
1 parent eca732c commit 095fccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Composer/packages/server/src/services/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ export class BotProjectService {
speech: { ...originalProject.settings.speech },
defaultLanguage: originalProject.settings.defaultLanguage,
languages: originalProject.settings.languages,
customFunctions: originalProject.settings.customfunctions,
customFunctions: originalProject.settings.customFunctions ?? [],
importedLibraries: [],
MicrosoftAppId: originalProject.settings.MicrosoftAppId,

Expand Down

0 comments on commit 095fccc

Please sign in to comment.