The ultimate AI project management tool.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dart: {
type: "app",
app: "dart",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.itsdart.com/api/v0/users`,
headers: {
Authorization: `Bearer ${this.dart.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})