Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Default children & verbose to false if not specified.

  • Loading branch information...
commit 7edaaa81f520e4d3d0ce4689c6a848045cf0e170 1 parent 018ee97
Ryan Morgan authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 hqu/hqapi1/app/ResourceController.groovy
View
4 hqu/hqapi1/app/ResourceController.groovy
@@ -214,8 +214,8 @@ class ResourceController extends ApiController {
def get(params) {
def id = params.getOne("id")?.toInteger()
def platformName = params.getOne("platformName")
- def children = params.getOne("children")?.toBoolean()
- def verbose = params.getOne("verbose")?.toBoolean()
+ boolean children = params.getOne("children", "false")?.toBoolean()
+ boolean verbose = params.getOne("verbose", "false")?.toBoolean()
def resource = null
def failureXml
Please sign in to comment.
Something went wrong with that request. Please try again.