Refactor: clients → companies schema v2
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
import { supabase } from './supabase';
|
||||
|
||||
export async function sendEmail(type, to, data) {
|
||||
const { error } = await supabase.functions.invoke('send-email', {
|
||||
body: { type, to, data },
|
||||
});
|
||||
if (error) console.error('Email error:', error);
|
||||
}
|
||||
Reference in New Issue
Block a user