with Homerun and Formatting?
Emit new event when a candidate submits an application for a job posting. See the documentation
Emit new event when a new vacancy is created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    homerun: {
      type: "app",
      app: "homerun",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.homerun.co/v2/ping`,
      headers: {
        Authorization: `Bearer ${this.homerun.$auth.api_key}`,
        "content-type": `application/json`,
      },
    })
  },
})
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})