erik_flywheel
09/17/2021, 11:02 PMerik_flywheel
09/17/2021, 11:03 PMsiduck
09/18/2021, 1:20 AMs u s h i
09/18/2021, 9:20 AMsilentworks
09/18/2021, 10:01 AMsilentworks
09/18/2021, 10:02 AMpaolotiu
09/18/2021, 2:42 PMconsole.time
).paolotiu
09/18/2021, 2:58 PMjoshcawthorne
09/18/2021, 5:26 PMawait supabase.auth.update({
data: {
email: 'update@email.com'
},
});
regisin
09/18/2021, 5:54 PMjon.m
09/18/2021, 8:09 PMconst messageNotificationsSub = supabase
.from(`participants:user_id=eq.${user.id}`)
.on("*", (payload) => {
console.log(new Date());
console.log("payload", payload);
...
jon.m
09/18/2021, 8:10 PM.from(participants)
- i get every update. So the issue seems to be the row level filter.eshlox
09/18/2021, 8:37 PMsupabase.auth.api.generateLink("magiclink", email)
? It returns { data: null, error: { message: 'User not allowed', status: 401 } }
🤔murphy
09/18/2021, 8:52 PMupload
it appears that I should be able to pass an ArrayBuffer , or many other formats to the upload
function. But the typescript types show only an implementation for passing in a File
object. When I pass in an ArrayBuffer, I get an internal server error at runtime: {"statusCode":500,"error":"Internal Server Error","message":"Cannot read property 'fields' of undefined"}
murphy
09/18/2021, 8:52 PMFormData
object or something.murphy
09/18/2021, 8:53 PMmurphy
09/18/2021, 8:54 PMmurphy
09/18/2021, 9:07 PMregisin
09/18/2021, 10:23 PMauth.users
, just like the examples. I did not configure any RLS yet (not sure I will!). But I can't figure out how to insert a new row in the DB. It's not like the user.id is anywhere in the dashboard to be seen, is it?jbergius
09/18/2021, 10:26 PMtinjaw
09/18/2021, 11:35 PMformation
object correctly. If I use lodash and grab the first entry, it displays properly. Then the problem occurs.
I can change the page in dev mode and reference .choiceFlag
or .choice
if the page in the browser is not refreshed. But if I refresh the page, I cannot reference either.
I don't know where to start. My guess is finding out from you folks, how to add config stuff to get absolutely no caching going on here first.tinjaw
09/18/2021, 11:39 PMtinjaw
09/18/2021, 11:52 PM[{"id":1,"choice":"Linear Formation","result":"The linear formation ensured simple coordination between units and a uniform advance. However, the pace proved slow, allowing the maximum effects from German fires, and decoupling our infantry from our barrage.","penetration_effectd":0,"casualties_effect":4,"choiceFlag":"linearFormation"},{"id":2,"choice":"Column Formation","result":"Your assault columns proved easily controlled and made fast progress across No-Man's Land, taking advantage of gaps in wire obstacles. However, in many cases the narrow advance sectors were easily stopped by single machine guns and proved vulnerable to flanking fires from German troops and artillery.","penetration_effectd":1,"casualties_effect":3,"choiceFlag":"columnFormation"},{"id":3,"choice":"Rushes (Fire and Movement)","result":"Utilizing rushes minimized casualties and enabled units to take advantage of local suppressing fires. However, your newly-formed units were not sufficiently trained to be able to make good use of this technique, causing the attack to break down.","penetration_effectd":-4,"casualties_effect":-6,"choiceFlag":"rushes"}]
jon.m
09/19/2021, 1:13 AMDaniel
09/19/2021, 4:55 AMsingle
and maybeSingle
? for example:Daniel
09/19/2021, 4:56 AMfinal response = await Supabase.instance.client
.from('customer')
.select('*')
.eq('account_id',accountId)
.maybeSingle()
.execute();
Daniel
09/19/2021, 4:56 AMDaniel
09/19/2021, 4:56 AMDaniel
09/19/2021, 4:56 AMjbergius
09/19/2021, 5:33 AM