Add timestamp in createInitialProfile
cgen-8ee2e4c098f94273b900c6df5f2c5c1a
This commit is contained in:
parent
50ebbd06aa
commit
bae824507f
1 changed files with 4 additions and 0 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in a new issue