Kosh
08/08/2021, 8:56 PMloser78
08/08/2021, 10:23 PMloser78
08/08/2021, 10:40 PMloser78
08/08/2021, 10:46 PMlet { user, error } = await supabase.auth.signIn(...)
? It'd seem natural except, the login triggers a redirect and so I'm not sure if that terminates any code I put afterwards. So should I instead always duplicate check it when I read the user variable i.e. let user = await supabase.auth.user()
and then see if it exists in the USER TABLE, then add it if it doesn't? Seems ideal if I could just do the first optionacpatrice
08/08/2021, 11:05 PMloser78
08/08/2021, 11:27 PMonAuthStateChanged
fixes it, although I don't know why it still redirects to "#"loser78
08/08/2021, 11:28 PMDhaiwat10
08/09/2021, 12:29 AMContributor
role pls? (My Github is Dhaiwat10, linked to my Discord profile & my discord username is mentioned in my Github profile readme 🙃)user
08/09/2021, 1:54 AMnull
, but could not manage to make it work.
Tried things like (works without the filter):
javascript
supabase
.from("posts:parent_uuid.is.null")
.on(...)
.subscribe()
Any hints on what is the correct way to do it?nicholaschiang
08/09/2021, 2:16 AMuser_tag
enum that is being used in the tags
array column?
pgsql
-- The enum I want to update:
create type user_tag as enum ('meeting', 'tutor', 'tutee', 'parent');
-- The table the enum is being used in:
create table users (
tags: user_tag[] not null
);
GingerMonkeyKing
08/09/2021, 2:42 AMGingerMonkeyKing
08/09/2021, 2:42 AMconst {data, error} = await supabase
.from("scholars")
.select(`
*,
daily_slp:scholar_id ( amount,amount_start,amount_end, date )`)
GingerMonkeyKing
08/09/2021, 2:43 AMxeon06
08/09/2021, 8:32 AMgenerateLink
? Would like to generate internationalized magic link emailsStrift
08/09/2021, 9:49 AMcopple
08/09/2021, 10:36 AMLetMeKnow
is for big events, SpreadTheWord
is when we post on social media (so that you can help amplify)Kosh
08/09/2021, 11:33 AMMohamed Osman
08/09/2021, 12:49 PMsilentworks
08/09/2021, 12:58 PMMohamed Osman
08/09/2021, 12:59 PMMohamed Osman
08/09/2021, 1:01 PMsilentworks
08/09/2021, 1:01 PMMohamed Osman
08/09/2021, 1:02 PMMohamed Osman
08/09/2021, 1:02 PMenricenrich
08/09/2021, 2:57 PMTechmandanCZ
08/09/2021, 3:21 PMSteve
08/09/2021, 3:32 PMSteve
08/09/2021, 3:34 PMuser
08/09/2021, 4:16 PM