with Nuclino and Error?
Create a new item or collection in Nuclino. See the documentation
Search for items or collections in Nuclino. See the documentation
Update an existing item or collection in Nuclino. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nuclino: {
type: "app",
app: "nuclino",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.nuclino.com/v0/teams`,
headers: {
"authorization": `${this.nuclino.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({steps, $}) {
throw new Error('Oops something went wrong')
},
})