initial commit with imported utils from old github project

This commit is contained in:
pascalyazid committed 2026-05-10 16:30:28 +02:00
commit 66bb463e23
39 files changed
+1944

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
"use server";
import { createClient } from "./server";
export async function realtimeToken() {
const supabase = createClient();
const token = (await (await supabase).auth.getSession()).data.session
?.access_token;
if (!token) return null;
return token;
}