Skip to content

Commit

Permalink
Merge branch 'release/0.4.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Friedmann committed Feb 18, 2017
2 parents b719c43 + 7a79502 commit 1125be9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "smallstack-cli",
"version": "0.4.10",
"version": "0.4.11",
"description": "Command Line Interface for Smallstack Projects",
"author": {
"email": "max@smallstack.io",
Expand Down
6 changes: 3 additions & 3 deletions src/functions/generateSourcesFunctions.js
Expand Up @@ -254,13 +254,13 @@ functions.getChecksForParameters = function getChecksForParameters(array, others
if (schemaTypeFound)
type = "smallstack.schemas[\"" + schemaTypeFound + "\"]";
else
type = functions.getSchemaType(split[1]);
type = functions.getTypescriptType(split[1]);
} else {
name = array[i];
type = "String";
type = "string";
}

out += "\t\tUtils.check(params." + name + ", " + type + ", \"" + name + "\"";
out += "\t\tUtils.check(params." + name + ", \"" + type + "\", \"" + name + "\"";
if (callback)
out += ", callback";
out += ");\n";
Expand Down

0 comments on commit 1125be9

Please sign in to comment.