with Rinkel and Formatting?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rinkel: {
type: "app",
app: "rinkel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rinkel.com/v1/users`,
headers: {
"accept": `application/json`,
"x-rinkel-api-key": `${this.rinkel.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})