Fix wrong params indentation (#7136)

This commit is contained in:
Krzysztof Karol
2017-12-09 10:22:24 +01:00
committed by William Cheng
parent 2af8868281
commit d43e9c8be2
2 changed files with 5 additions and 3 deletions

View File

@@ -73,9 +73,11 @@ export class {{classname}} {
let httpRequestParams: ng.IRequestConfig = {
method: '{{httpMethod}}',
url: localVarPath,
{{#bodyParam}}data: {{paramName}},
{{#bodyParam}}
data: {{paramName}},
{{/bodyParam}}
{{#hasFormParams}}data: this.$httpParamSerializer(formParams),
{{#hasFormParams}}
data: this.$httpParamSerializer(formParams),
{{/hasFormParams}}
params: queryParameters,
headers: headerParams

View File

@@ -36,7 +36,7 @@ git_remote=`git remote`
if [ "$git_remote" = "" ]; then # git remote not defined
if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git