Fix createInitialProfile table name
cgen-392c7eb10e3b4f37b2e6a0634a2ce4c1
This commit is contained in:
parent
74ddee8362
commit
4032fa747c
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ export const aethexUserService = {
|
||||||
profileData: Partial<AethexUserProfile>,
|
profileData: Partial<AethexUserProfile>,
|
||||||
): Promise<AethexUserProfile | null> {
|
): Promise<AethexUserProfile | null> {
|
||||||
const { data, error } = await supabase
|
const { data, error } = await supabase
|
||||||
.from("profiles")
|
.from("user_profiles")
|
||||||
.insert({
|
.insert({
|
||||||
id: userId,
|
id: userId,
|
||||||
username: profileData.username || `user_${Date.now()}`,
|
username: profileData.username || `user_${Date.now()}`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue