The Visual Collaboration Platform for Every Team.
Emit new event when an item's position changes in a Miro Custom App.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
miro_custom_app: {
type: "app",
app: "miro_custom_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.miro.com/v2/boards`,
headers: {
Authorization: `Bearer ${this.miro_custom_app.$auth.access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})