Add timestamp in createInitialProfile

cgen-8ee2e4c098f94273b900c6df5f2c5c1a
This commit is contained in:
Builder.io 2025-10-04 10:39:08 +00:00
parent 50ebbd06aa
commit bae824507f

View file

@ -368,6 +368,10 @@ export const aethexUserService = {
): Promise<AethexUserProfile | null> {
ensureSupabase();
const now = new Date();
const nowIso = now.toISOString();
const todayIso = isoDate(startOfUTC(now));
const { data, error } = await supabase
.from("user_profiles")
.insert({