cptCrunch
01/25/2022, 11:11 PMsupabase.auth.token
?garyaustin
01/25/2022, 11:27 PMak4zh
01/26/2022, 7:15 AMproduct
and shop
I have created a realtime to product so when a new product is added it shows immediately in my app.
The product
table has a foreign relation to shop with column shop_id
how can I get the shop details as will with my subscrition as it only contains shop_id currentlyRutik
01/26/2022, 8:49 AMsimpautus
01/26/2022, 10:22 AMchipilov
01/26/2022, 10:25 AMosaxma
01/26/2022, 10:31 AMchipilov
01/26/2022, 11:37 AMsilentworks
01/26/2022, 12:17 PMsilentworks
01/26/2022, 12:24 PMdmitriy.dranko
01/26/2022, 12:25 PMsilentworks
01/26/2022, 12:33 PMricardodepaula
01/26/2022, 12:35 PMBucket name: images,
function: // handle image upload
const handleFiles = async (e) => {
const uploadFile = e.target.files[0]
const { data, error } = await supabase.storage.from('images').upload('images', uploadFile, {
cacheControl: '3600',
upsert: false
})
}
input and button: <div class="margin-top">
<label for="images">Upload Proposal Cover</label>
<input type="file" id="images" max="1" accept=".jpg,.png,.jpeg" />
<button class="margin-top" on:click={handleFiles}>upload</button>
</div>
silentworks
01/26/2022, 12:50 PMricardodepaula
01/26/2022, 12:51 PMwiesson
01/26/2022, 1:39 PMsupabase.auth.signIn({ email }, { redirectTo: "URL here" })
// does supabase follow this redirectTo
?YelloJello
01/26/2022, 2:18 PMsilentworks
01/26/2022, 2:28 PMsilentworks
01/26/2022, 2:32 PMjoshcowan25
01/26/2022, 2:50 PMmansedan
01/26/2022, 4:20 PMholztisch_3000
01/26/2022, 5:30 PMsilentworks
01/26/2022, 5:59 PMlorencerri
01/26/2022, 6:10 PMjoshcowan25
01/26/2022, 6:17 PMlorencerri
01/26/2022, 6:30 PMKeooo
01/26/2022, 6:40 PMSealion
01/26/2022, 7:59 PMryan.indigo
01/26/2022, 8:54 PMDiego Pereira
01/26/2022, 11:09 PMnull
i get a type error on the frontend?