BallisticSwami
03/15/2022, 10:56 AMDanMossa
03/15/2022, 2:02 PMelliott
03/16/2022, 12:06 AMsilentworks
03/16/2022, 10:09 AMZenon
03/19/2022, 9:33 AMgaryaustin
03/19/2022, 1:42 PMJono
03/19/2022, 5:16 PMconst { user, session, error } = await supabase.auth.signIn({
provider: 'slack',
}, {
scopes: 'team:read'
})
the url has a query param that looks like scope=profile+email+openid+team%3Aread&user_scope=
where as the slack app dashboard provides one that looks like scope=chat%3Awrite%2Cusers%3Aread%2Cteam%3Aread
when I delete profile+email+openid+
from the url slack auth works. Is there someway I can modify the url generated before opening the new oauth browser window, or where does this code live, maybe there is a param I can add/modify?
** but when I remove those then the actual signup doesn't work because the request doesn't include access to emailZenon
03/20/2022, 9:47 AMManuel Coffin
03/20/2022, 9:57 AMsupabase.auth.session()
returns null 🤷♂️
Anyone experienced this?Jack?
03/21/2022, 2:08 AMgaryaustin
03/21/2022, 2:15 AMZenon
03/21/2022, 4:03 AMgaryaustin
03/21/2022, 4:15 AMZenon
03/21/2022, 4:20 AMdrilkmops
03/21/2022, 9:27 PMunknown[]
drilkmops
03/21/2022, 9:28 PMnumber[]
for ts support?gomflo
03/22/2022, 3:05 PMgomflo
03/22/2022, 3:05 PMsql
SELECT * FROM products WHERE updated_at current_price < previous_price;
gomflo
03/22/2022, 3:05 PMgomflo
03/22/2022, 3:06 PMjavascript
let { data: } = await supabase
.from("products")
.select("*")
.lt("current_price", "previous_price")
mikelyndon
03/22/2022, 3:40 PMjavascript
let { error: uploadUpdateError } = await supabaseClient.storage
.from("assets")
.update(filePath, uploadImg, { upsert: true });
But I'm getting this error
json
{"level":50,"time":1647962861081,"pid":22,"hostname":"b3718797a4f3","reqId":"req-11","tenantId":"adt","error":{"message":"JSON object requested, multiple (or no) rows returned","details":"Results contain 0 rows, application/vnd.pgrst.object+json requires 1 row"},"msg":"error object"}
which I can only find a reference for when using single()
instead of .limit(1)
as part of a .select()
I know the filePath is correct. Any thoughts on what could be causing this or how to resolve it?garyaustin
03/22/2022, 3:59 PMmikelyndon
03/23/2022, 1:25 PMgaryaustin
03/24/2022, 2:03 PMzeem
03/24/2022, 2:07 PMkennethcassel
03/24/2022, 4:14 PMsilentworks
03/24/2022, 5:44 PMmikelyndon
03/25/2022, 6:28 AMRob
03/25/2022, 2:57 PM