Skip to content

Commit fb73b8c

Browse files
committed
update r petstore samples
1 parent 97298bd commit fb73b8c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0-SNAPSHOT
1+
2.4.0-SNAPSHOT

samples/client/petstore/r_test/R/Pet.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Pet <- R6::R6Class(
127127
fromJSONString = function(PetJson) {
128128
PetObject <- jsonlite::fromJSON(PetJson)
129129
self$`id` <- PetObject$`id`
130-
CategoryObject -> Category$new()
130+
CategoryObject <- Category$new()
131131
self$`category` <- CategoryObject$fromJSON(jsonlite::toJSON(PetObject$category, auto_unbox = TRUE))
132132
self$`name` <- PetObject$`name`
133133
self$`photoUrls` <- PetObject$`photoUrls`

samples/client/petstore/r_test/git_push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ git_remote=`git remote`
3636
if [ "$git_remote" = "" ]; then # git remote not defined
3737

3838
if [ "$GIT_TOKEN" = "" ]; then
39-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment."
39+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
4040
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
4141
else
4242
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git

0 commit comments

Comments
 (0)