Strategic Product Management Platform | airfocus
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airfocus: {
type: "app",
app: "airfocus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.airfocus.com/api/fields/types`,
headers: {
Authorization: `Bearer ${this.airfocus.$auth.api_key}`,
"user-agent": `pipedream/1`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})