A Modern and Smart Resource Management, Planning & Scheduling tool with Time Sheets and Powerful Reporting. Ideal for Managing Global Teams of Resources.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hub_planner: {
type: "app",
app: "hub_planner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hubplanner.com/v1/project`,
headers: {
"Authorization": `${this.hub_planner.$auth.api_key}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})