1337
07/11/2022, 4:06 PMland has artifact and artifact value isn't null query returns item object perfectly. 
Whenever land doesn't have any artifact query returns null instead of queried object.
E.g. Land #0 has stored artifact id.
E.g Land #1 doesn't have stored artifact id (null).
Any ideas how I could solve that (both lands (#0, #1) suppose to return result with or without artifact)?
js
const { data } = await supabase
  .from('lands')
  .select('artifact!inner(*)')
  .eq('id', id)
  .single()maiikol1192
07/11/2022, 6:44 PMsb
07/11/2022, 9:30 PMhttp://localhost:54323/): http://supabase_kong_<my_project>:8000
2. In `supabase start`: http://localhost:54321benten
07/11/2022, 9:32 PMUNION types timestamp with time zone and text cannot be matchedsb
07/11/2022, 9:35 PM"Request Failed". Anyone know what might be the cause?Scott Tolinski
07/11/2022, 11:15 PMEthanxyz
07/12/2022, 12:33 AMAsh
07/12/2022, 1:35 AMawait supabaseClient.auth.signIn({email, password,}); and it is crashing my application. This was working for months and suddenly started today with no changes to the code
FetchError: invalid json response body at https://REACTED.supabase.co/auth/v1/token?grant_type=password reason: Unexpected token < in JSON at position 0
    at /node_modules/node-fetch/lib/index.js:273:32
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  type: 'invalid-json'
}MrNiceRicee
07/12/2022, 3:36 AMvalentin ッ
07/12/2022, 5:24 AMMathiassio
07/12/2022, 6:49 AMarthas
07/12/2022, 7:38 AMAbu Abdullah
07/12/2022, 8:02 AMOtis
07/12/2022, 8:04 AMrommyarb
07/12/2022, 9:04 AMMartin INDIE MAKERS
07/12/2022, 9:31 AMconsole.error('toto') is not visible in the logs but console.log('toto') work ?Steeker
07/12/2022, 10:33 AMBoxWallet
07/12/2022, 1:15 PMChiqui
07/12/2022, 1:53 PMJ0s3v4rg4s
07/12/2022, 3:24 PMsupabase db remote commit and check the migration with supabase db reset the error is:
Error: Error starting database: ERROR:  cannot drop function graphql.cache_key(regrole,jsonb,jsonb) because extension pg_graphql requires it
HINT:  You can drop extension pg_graphql instead.
ERROR:  current transaction is aborted, commands ignored until end of transaction block
ERROR:  current transaction is aborted, commands ignored until end of transaction block
ERROR:  current transaction is aborted, commands ignored until end of transaction block
ERROR:  current transaction is aborted, commands ignored until end of transaction block
ERROR:  current transaction is aborted, commands ignored until end of transaction block
ERROR:  current transaction is aborted, commands ignored until end of transaction block
ERROR:  current transaction is aborted, commands ignored until end of transaction block
ERROR:  current transaction is aborted, commands ignored until end of transaction block
ERROR:  current transaction is aborted, commands ignored until end of transaction blockmartypdx
07/12/2022, 3:33 PMgetPublicUrl and it returns the wrong url, the bucket name is listed twice. Before I file an issue on GH, wanted to make sure I am using correctly.
export async function uploadImage(imageFile) {
    const bucket = client
        .storage
        .from('avatars');
    const { data, error } = await bucket
        .upload(imageFile.name, imageFile, {
            cacheControl: '3600',
            upsert: false
        });
    if (error) {
        console.log(error);
        return null;
    }
    console.log(data);
    const url = bucket.getPublicUrl(data.Key);
    return url;
}(d,f,g)=> 🥁
07/12/2022, 3:37 PMcurrent_setting('request.header.user-agent', true) but in all my tests this returns null
use-case: i want to allow anonymous users to add "claps" (like Medium), but with a limit of claps per-IP or some other identifierHelge
07/12/2022, 4:37 PMConnecting to Default Project which spins forever. The DB is working though as I can access all tables w/ prisma studio.
Is there anything I have to do to make it work? Running M1 Maxlaznic
07/12/2022, 5:13 PMqueryParams aren't passed on to the provider sign in URL? E.g. I have the below code which redirects to the Discord page, however prompt: none is never added to the URL.
await supabase.client.auth.signIn({
  provider: 'discord'
}, {
  scopes: 'connections guilds email identify',
  queryParams: {
    prompt: 'none'
  }
});Ethanxyz
07/12/2022, 6:20 PMstripe_customer column.
Some notes...
1. When the API runs via the ThunderClient testing UI, a stripe customer is created and whichever email I hardcoded in the POST body is added to the Stripe Customer Dashboard.
2. When the API runs via the user flow through my app, the "email" [ shown below ] .... is not displayed in the stripe customer dashboard.
js
  const customer = await stripe.customers.create({
        email: req.body.record.email,
    });
    await supabase.from('profiles').update({
        stripe_customer: customer.id
    }).eq('id',req.body.record.id);
I am not sure what could be causing this issue other than RLS and the use of ngrok.Nin
07/12/2022, 10:01 PM{"message":""}Kelaos
07/13/2022, 2:00 AMhaydn
07/13/2022, 3:38 AMglomyst
07/13/2022, 6:40 AMak4zh
07/13/2022, 7:22 AM