with Error and Fiserv?
export default defineComponent({
async run({steps, $}) {
throw new Error('Oops something went wrong')
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fiserv: {
type: "app",
app: "fiserv",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.fiserv.$auth.url}/sandbox/exp/v1/authorisations`,
headers: {
"API-Key": `${this.fiserv.$auth.api_key}`,
},
})
},
})