theuknowner
03/29/2022, 5:45 PMSeñor Bruno
03/29/2022, 6:16 PMKasper
03/29/2022, 6:30 PMBicijay
03/29/2022, 7:23 PMbarry
03/29/2022, 9:34 PMjs
const [user, setUser] = useState();
useEffect(() => {
setUser(supabase.auth.user());
}, []);
Had to do this to prevent a NextJs hydration error, but now I have to refresh the page for conditional rendered components to be correct, anyone know a fix?ryfill
03/29/2022, 10:09 PMPhilipWee
03/29/2022, 10:26 PMlrnecgcysiam
03/29/2022, 10:37 PMVM
03/30/2022, 1:01 AMLeoSonnekus
03/30/2022, 2:43 AMdebabrata
03/30/2022, 5:41 AMpg_class
and pg_statistic
take up 95 MB and 43 MB respectively. What might be the problem here?pocin
03/30/2022, 8:41 AMconst { user, session, error } = await supabase.auth.signIn(
{provider: 'discord'},
{scopes: 'identify'})
but the it seems the scope is appended in the url &scope=email+identify+identify
Looked through the code https://github.com/supabase/gotrue-js/blob/2f183f421096755d3ae2bd4f698503422a6b8eea/src/GoTrueClient.ts#L246 and it shouldnt be the case, am i missing something?
Or is the email
mandatory for supabase to work properly?topperspal
03/30/2022, 9:32 AMmagicbyt3
03/30/2022, 1:36 PMjs
async function update(newData) {
const objId = newData.id;
const { data, error } = await supabase
.from('addresses')
.update({city: newData.city})
.eq('id', objId);
console.log(data, error)
if (null !== error) {
return false;
}
return true;
}
data is null and error is an empty array. Reponse http is 404 but I have no idea why it happens at all. The record with the id (1) exists in the table and everything is spelled correct.cdro
03/30/2022, 3:35 PMngs
03/30/2022, 3:38 PMUsing @sveltejs/adapter-cloudflare
▲ [WARNING] Ignoring this import because "node_modules/@supabase/supabase-js/dist/module/index.js" was marked as having no side effects
.svelte-kit/output/server/entries/pages/__layout.svelte.js:4:7:
4 │ import "@supabase/supabase-js";
╵ ~~~~~~~~~~~~~~~~~~~~~~~
"sideEffects" is false in the enclosing "package.json" file
node_modules/@supabase/supabase-js/package.json:21:2:
21 │ "sideEffects": false,
╵ ~~~~~~~~~~~~~
Is it something I should be worried about?Sue
03/30/2022, 3:38 PMtheuknowner
03/30/2022, 6:18 PM4Lajf
03/30/2022, 7:21 PMsql
IF value1 <> value2 THEN
//something happens
END IF;
but when i did that as a trigger it bugged the entire app out xDKenPizza
03/30/2022, 7:57 PMlaznic
03/30/2022, 8:20 PMZiga
03/30/2022, 8:25 PMconst {error, data} = await supabase
.from('testers')
.select("assignments (*, test(*))")
.single()
JR23
03/30/2022, 8:45 PMKasper
03/30/2022, 9:39 PMdrilkmops
03/30/2022, 9:44 PMconst {data: initialPlayers} = await client.from('players')
.select(`
id: player,
users (name)
`)
{ id, name }
Right now it's coming back as
{id, users: {name } }
DanMossa
03/30/2022, 10:07 PMraw_app_meta_data
it shows their provider.
But now if they login with their email being the same as the google email, I get an error that their email is already in use, and if it's a create account, then it's an incorrect username and password.
How can I get the app_meta_data? or what's the proper flow?DesertRodent
03/30/2022, 11:43 PMアレラーノ・ケビン
03/31/2022, 12:49 AMkmuz-1
03/31/2022, 1:30 AMdannagain
03/31/2022, 2:55 AMcode: 500
error_id: "f4d5968e-17e0-4129-b3fb-80e468a121e1"
msg: "Error sending confirmation mail"
If I disable custom smtp it works as expected.