with Rewiser and Formatting?
Emit new event when a new transaction is created in Rewiser. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rewiser: {
type: "app",
app: "rewiser",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://nzkqapsaeatytqrnitpj.supabase.co/functions/v1/verify-auth`,
headers: {
Authorization: `Bearer ${this.rewiser.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})