Created by mrl5 96 days ago Viewed 152 times 0 Points
Returns supabase event. It requires setting up Supabase Database Webhook with Windmill Webhook URL and Windmill token
No comments yet
export async function main(
type: string,
table: string,
record: object,
schema: string,
old_record: object,
) {
console.log('type', type);
console.log('table', table);
console.log('record', record);
console.log('schema', schema);
console.log('old_record', old_record);
return {
type,
table,
record,
schema,
old_record,
};
}
No comments yet