diff --git a/vars/listDraftsets.groovy b/vars/listDraftsets.groovy index 6568342..b35a846 100644 --- a/vars/listDraftsets.groovy +++ b/vars/listDraftsets.groovy @@ -13,6 +13,6 @@ api.basePath = "https://production-drafter-ons-alpha.publishmydata.com" api.versionPath = "/v1" api.auth = auth - api.draftsetsGet(null, { result -> echo result }, - { status, reason -> echo reason }) + api.draftsetsGet(null, { result -> println(result) }, + { status, reason -> println(reason) }) } \ No newline at end of file