Skip to content

Commit

Permalink
remove extraneous lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mslynch committed Sep 12, 2023
1 parent d234d40 commit ab46dd1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/client-cloud.R
Original file line number Diff line number Diff line change
Expand Up @@ -238,16 +238,13 @@ cloudClient <- function(service, authInfo) {
},

deployApplication = function(application, bundleId = NULL, spaceId = NULL) {
outputPatchData <- list()

currentProjectId <- getCurrentProjectId(service, authInfo)
if (!is.null(currentProjectId)) {
PATCH_JSON(service, authInfo, paste0("/outputs/", application$id), list(project = currentProjectId))
}

if (!is.null(spaceId)) {
PATCH_JSON(service, authInfo, paste0("/outputs/", application$id), list(space = spaceId))
outputPatchData$space <- spaceId
}

path <- paste0("/applications/", application$application_id, "/deploy")
Expand Down

0 comments on commit ab46dd1

Please sign in to comment.