bhaskar
07/27/2022, 9:25 PMEmail signups are disabled
for newer signup. i have it enabled on the settings. not sure why it still show this up.7seas3c
07/28/2022, 6:20 AMjs
...
processActivity = [
{
processActivityId: "2220c7a1-1111-429f-9381-b6327f3082e3",
commandType: "CREATE",
nodeType: "ACTIVITY",
targetTable: "ORDER",
status: "PENDING",
to: [{
id: "2220c7a1-2222-429f-9381-b6327f3082e3",
}],
from: [{
id: "2220c7a1-aaaa-429f-9381-b6327f3082e3",
}],
logic: "",
commandPayload: {
order_id: v4(),
},
eventPayload: "",
isCompleted: false,
},
...
]
i have problem upon to
and from
creation and this is how i did it for both
js
...
to: {
connectOrCreate: activity.to?.map(t => {
return {
where: {id: t.id},
create: {toNodeId: t.toNodeId}
}
})
}
the inserts was success but the values are wrong. in db it uploads the processActivityId instead in that to
and from
field, rather than to value assigned in the payload. How can I do it ya ?RyanCaoDev
07/28/2022, 7:12 AMid
and causes a 404 in my application. GitHub Discussions and Support have been not very helpful so far...$VINIT$
07/28/2022, 10:19 AMgaryaustin
07/28/2022, 2:12 PMlooni
07/28/2022, 2:17 PM2022-07-28T11:45:56.041Z 21833103-4ba1-4045-bdfb-91b39c47f985 ERROR Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: Dynamic require of \"events\" is not supported","reason":{"errorType":"Error","errorMessage":"Dynamic require of \"events\" is not supported","stack":["Error: Dynamic require of \"events\" is not supported"," at file:///var/task/index.js:12:9"," at node_modules/websocket/lib/utils.js (file:///var/task/index.js:14834:41)"," at __require2 (file:///var/task/index.js:18:50)"," at node_modules/websocket/lib/WebSocketServer.js (file:///var/task/index.js:16609:18)"," at __require2 (file:///var/task/index.js:18:50)"," at node_modules/websocket/lib/websocket.js (file:///var/task/index.js:17597:17)"," at __require2 (file:///var/task/index.js:18:50)"," at node_modules/websocket/index.js (file:///var/task/index.js:17613:22)"," at __require2 (file:///var/task/index.js:18:50)"," at node_modules/@supabase/realtime-js/dist/main/RealtimeClient.js (file:///var/task/index.js:18450:23)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: Dynamic require of \"events\" is not supported"," at process.<anonymous> (file:///var/runtime/index.mjs:775:15)"," at process.emit (node:events:539:35)"," at emit (node:internal/process/promises:140:20)"," at processPromiseRejections (node:internal/process/promises:274:27)"," at processTicksAndRejections (node:internal/process/task_queues:97:32)"]}
Unknown application error occurred
looni
07/28/2022, 2:17 PMAzura
07/28/2022, 2:21 PMhttps://www.google.com
but it does not work as expected.
**Expectation**: redirects to https://www.google.com
**Result**: redirects to localhost:3000/https://www.google.com
Is there any way I could achieve the expectation scenario using Supabase's Nextjs Middleware Helper?silentworks
07/28/2022, 2:53 PManderjaska
07/28/2022, 5:40 PMREVOKE ALL PRIVILEGES ON DATABASE "postgres" FROM "anon";
REVOKE ALL PRIVILEGES ON SCHEMA "public" FROM "anon";
REVOKE ALL PRIVILEGES ON SCHEMA "storage" FROM "anon";
REVOKE ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA "public" FROM "anon";
REVOKE ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA "storage" FROM "anon";
REVOKE ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA "public" FROM "anon";
REVOKE ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA "storage" FROM "anon";
REVOKE ALL PRIVILEGES ON ALL TABLES IN SCHEMA "public" FROM "anon";
REVOKE ALL PRIVILEGES ON ALL TABLES IN SCHEMA "storage" FROM "anon";
REVOKE ALL ON ALL ROUTINES IN SCHEMA public FROM PUBLIC;
How can I reverse this for storage
specifically?anderjaska
07/28/2022, 5:40 PManderjaska
07/28/2022, 5:42 PManderjaska
07/28/2022, 5:57 PMGRANT ALL PRIVILEGES ON SCHEMA "storage" TO "anon";
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA "storage" TO "anon";
GRANT ALL PRIVILEGES ON ALL FUNCTIONS IN SCHEMA "storage" TO "anon";
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA "storage" TO "anon";
sudoramen
07/28/2022, 7:55 PMlet { data, error } = await supabase
.rpc('get_customer_home')
if (error) console.error(error)
else console.log(data)
results in
{
message: 'Could not find the public.get_customer_home() function or the public.get_customer_home function with a single unnamed json or jsonb parameter in the schema cache',
code: 'PGRST202',
details: null,
hint: 'If a new function was created in the database with this name and parameters, try reloading the schema cache.'
}
HorseShoe
07/29/2022, 1:02 AMredirectTo
option in the second object of the signIn method but it still doesn't work. Only when I change the site url it changesgaryaustin
07/29/2022, 1:23 AM﮼كميل razsagul
07/29/2022, 2:22 AMgaryaustin
07/29/2022, 2:28 AM﮼كميل razsagul
07/29/2022, 2:44 AM﮼كميل razsagul
07/29/2022, 2:49 AMAzura
07/29/2022, 3:18 AMgaryaustin
07/29/2022, 3:23 AMKurooo
07/29/2022, 5:31 AM𝐢𝐚𝐦𝐦𝐚𝐫𝐤𝐩𝐬
07/29/2022, 12:26 PM𝐢𝐚𝐦𝐦𝐚𝐫𝐤𝐩𝐬
07/29/2022, 12:26 PM𝐢𝐚𝐦𝐦𝐚𝐫𝐤𝐩𝐬
07/29/2022, 12:27 PMts
return () => {
const disconnect = async () => await socket.disconnect()
disconnect()
}
𝐢𝐚𝐦𝐦𝐚𝐫𝐤𝐩𝐬
07/29/2022, 12:27 PMgaryaustin
07/29/2022, 2:02 PMHorseShoe
07/29/2022, 3:01 PM