-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from rubixFunctions/remove-schema
Restructure SDK
- Loading branch information
Showing
13 changed files
with
333 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
import * as r3x from './r3x' | ||
|
||
// Leaving for local testing | ||
|
||
let schema | ||
console.log("Execute Started . . . ") | ||
r3x.execute(function(input: any){ | ||
let response = {'message' : `${input.dictate}`} | ||
let response; | ||
if (input.person){ | ||
response = {'message' : `Hello ${input.person}`} | ||
} else { | ||
response = {'message' : `Hello RubiX`} | ||
} | ||
return response | ||
}, schema) | ||
}) |
Oops, something went wrong.