with Peerdom and Formatting?
Emit new event when a new member is added to a group. See the documentation
Emit new event when a new role is created in a circle. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
peerdom: {
type: "app",
app: "peerdom",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.peerdom.app/v1/tenant`,
headers: {
"content-type": `application/json`,
"x-api-key": `${this.peerdom.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})