cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Update workflow docs

beigert
Contributor

In the docs code example: 


```

import { functions } from '@dynatrace-sdk/adhoc-utils';

const response = await functions.call('my.app.id', 'hello-world', { username: 'john', fruits: ['apple', 'orange'] });
```

suggest that `adhoc-utils` `functions.call` doesn't not  required `.then((res) => res.text());` like 2 previous code examples. However in the run time this transformation is required.

I suggest to update this code example

 

 

2 REPLIES 2

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

Hi @beigert 

Thanks for reporting this. I will update the code example.

Best,
Sini

Glad to help 🙂

Featured Posts