To-dos and Schedules, Time-tracking in one place.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
offlight: {
type: "app",
app: "offlight",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.offlight.work/auth/check`,
headers: {
"x-api-key": `${this.offlight.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})