Needle
06/29/2022, 2:39 PMNeedle
06/29/2022, 2:42 PM1337
06/29/2022, 3:13 PMstorage.objects.id
.
On client-side I want to show list of items with images.
What's good practice to get public url of image stored in public bucket?willm
06/29/2022, 3:14 PM~/.supabase/deno
instead of the system's deno install? I use nixos and this breaks the CLI.willm
06/29/2022, 4:00 PMdata
is always null in this edge function? I'm calling it in the browser with supabase.functions.invoke()
.
ts
serve(async (req: Request) => {
if (req.method === "OPTIONS") {
return new Response("ok", { headers: corsHeaders });
}
try {
supabaseClient.auth.setAuth(
req.headers.get("Authorization")!.replace("Bearer ", "")
);
const data = supabaseClient.auth.user();
return new Response(JSON.stringify({ data }), {
headers: { ...corsHeaders, "Content-Type": "application/json" },
status: 200,
});
} catch (e) {
return new Response(JSON.stringify({ error: e.message }), {
headers: { ...corsHeaders, "Content-Type": "application/json" },
status: 400,
});
}
});
wa_magnet
06/29/2022, 4:22 PM> supabase@0.0.3 start
> docusaurus start --port 3006
[INFO] Starting the development server...
[ERROR] Loading of version failed for version current
[ERROR] Error: Invalid sidebar file at "sidebars.js".
These sidebar document ids do not exist:
- reference/cli/config-reference
- reference/cli/index
- reference/cli/installing-and-updating
- reference/cli/supabase-db-branch-create
- reference/cli/supabase-db-branch-delete
- reference/cli/supabase-db-branch-list
- reference/cli/supabase-db-changes
- reference/cli/supabase-db-commit
- reference/cli/supabase-db-push
- reference/cli/supabase-db-remote-commit
- reference/cli/supabase-db-remote-set
- reference/cli/supabase-db-reset
- reference/cli/supabase-db-switch
- reference/cli/supabase-functions-delete
- reference/cli/supabase-functions-deploy
- reference/cli/supabase-functions-new
- reference/cli/supabase-functions-serve
- reference/cli/supabase-help
- reference/cli/supabase-init
- reference/cli/supabase-link
- reference/cli/supabase-login
- reference/cli/supabase-migration-new
- reference/cli/supabase-secrets-list
- reference/cli/supabase-secrets-set
- reference/cli/supabase-secrets-unset
- reference/cli/supabase-start
- reference/cli/supabase-stop
- reference/dart/auth-onauthstatechange
- reference/dart/auth-session...
ggggguh
06/29/2022, 7:44 PMggggguh
06/29/2022, 7:59 PMLEGEND
06/30/2022, 1:04 AMtukemon
06/30/2022, 1:43 AMtukemon
06/30/2022, 1:48 AMGitanes
06/30/2022, 3:23 AMHum4n01d
06/30/2022, 5:58 AMjs
const { error } = await supabase.auth.signIn({
provider: "discord",
})
My auth redirect url is https://qhikrendhqaxakizeybi.supabase.co/auth/v1/callback
and my app is hosted at localhost:3000
Murkrage
06/30/2022, 7:38 AM{{ .Code }}
and {{ .ConfirmationURL }}
pocin
06/30/2022, 8:14 AMenyo
06/30/2022, 1:38 PMpsql: error: connection to server at "db.v*************c.supabase.co" (35.158.98.251), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
Is it possible this is currently down?Retonq
06/30/2022, 2:39 PMmakiaji
06/30/2022, 5:02 PMplaces
and another tags
. A place can have multiple tags and a tag can be in multiple places, so a n-n relation. I have a bridge table to connect both of them called places_tags
which has the columns id
, place_id
, tag_id
(FK to the id column on places and id column on tags tables).
Now when I try to get all the places and their tags I try to do the following:
await supabase.from("places").select(`
id,
name,
tags:tag_id(*)
`)
But I'm getting the following error:
Could not find a relationship between 'places' and 'tag_id' in the schema cache
What am I doing wrong? What I'm missing?
Thanks in advance!Michael Ketzer | streamgeist.com
06/30/2022, 6:57 PMEPROTO 140471606753216:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
with supabase.co ?
This error appears rarely, but I have just noted it. I had round about 800k requests and it happend on 8.
Does anyone know a solution for this? This mostly looks like a server-side issue, not something i might be able to fix.ikapo
06/30/2022, 8:36 PMsilvanet
06/30/2022, 8:52 PM[GodderE2D]
07/01/2022, 1:02 AMRelisora
07/01/2022, 3:33 AMdeal
table looks like :
| client_a | client_b | ... |
They both have a link to the client
table.
However, when I do:
js
supabase
.from(`deal`)
.select(
`
*,
client!inner(*)
`
)
I sometimes get client_a, and sometimes client_b. But I always want client_b in this case. How can I specify this in my request?sean123
07/01/2022, 5:45 AMhusK
07/01/2022, 7:55 AMNeedle
07/01/2022, 7:58 AMNeedle
07/01/2022, 8:06 AMpocin
07/01/2022, 11:09 AMpgadmin-schema-diff
up to date? comparing two databases with pgadmin4 gui and using the docker image yields different diffs.
Last build was 8 months ago
https://hub.docker.com/r/supabase/pgadmin-schema-diff/tags
and I havent found the dockerfile for the image so thinking if that could be an issueez-klik
07/01/2022, 11:48 AMZozo
07/01/2022, 11:59 AM