bim
08/16/2021, 12:22 AMNEXT_PUBLIC_
in next jsDi
08/16/2021, 2:10 AMloooke
08/16/2021, 2:45 AMGustavogsb
08/16/2021, 3:59 AMGustavogsb
08/16/2021, 3:59 AMstibbs
08/16/2021, 4:41 AMPeanut
08/16/2021, 6:34 AMERROR: invalid input syntax for type bytea
CONTEXT: SQL statement "insert into net.http_request_queue(method, url, headers, body, timeout_milliseconds)
values (
'POST',
net._encode_url_with_params_array(url, params_array),
headers,
body::text::bytea,
timeout_milliseconds
)
returning id"
PL/pgSQL function net.http_post(text,jsonb,jsonb,jsonb,integer) line 42 at SQL statement
My query is simple:
UPDATE assets SET description = 'Yes' WHERE title = 'Otto';
How do I fix this?Adamo
08/16/2021, 8:53 AMYggdrasill
08/16/2021, 9:15 AMPeanut
08/16/2021, 1:17 PMPeanut
08/16/2021, 1:17 PMPoypoypoy
08/16/2021, 2:39 PMAdamo
08/16/2021, 2:41 PMtypescript
const { user, error } = await supabase.auth.signUp({ email, password });
How would I go about attaching a username to the newly created user? I'm pretty confused about how the API works.
I have a 'profiles' table that was created from the User Management
starter, and I tried calling this after creating the user, which doesn't seem to work.
typescript
await supabase.from('profiles').update({ username }).eq('id', user?.id);
Poypoypoy
08/16/2021, 2:42 PMPoypoypoy
08/16/2021, 2:43 PMAdamo
08/16/2021, 2:44 PMAdamo
08/16/2021, 2:45 PMPoypoypoy
08/16/2021, 2:49 PMPoypoypoy
08/16/2021, 2:50 PMAdamo
08/16/2021, 2:51 PMAdamo
08/16/2021, 2:52 PMPoypoypoy
08/16/2021, 2:58 PMuser
08/16/2021, 2:59 PMomidh
08/16/2021, 3:38 PMVinzent
08/16/2021, 4:45 PMpostgres
?Marky
08/16/2021, 4:54 PMjjj.westra
08/16/2021, 5:11 PMjjj.westra
08/16/2021, 5:11 PMMarky
08/16/2021, 5:18 PMjjj.westra
08/16/2021, 5:35 PM