fustuk.
fustuk.
WWasp
Created by fustuk. on 1/2/2025 in #đŸ™‹questions
New SaaS app Bug?
no I did not thank you, adding <Outlet/> instead of children in App.tsx fixed it
23 replies
WWasp
Created by fustuk. on 1/2/2025 in #đŸ™‹questions
New SaaS app Bug?
No description
23 replies
WWasp
Created by fustuk. on 1/2/2025 in #đŸ™‹questions
New SaaS app Bug?
No description
23 replies
WWasp
Created by fustuk. on 1/2/2025 in #đŸ™‹questions
New SaaS app Bug?
got it, thanks!
23 replies
WWasp
Created by fustuk. on 1/2/2025 in #đŸ™‹questions
New SaaS app Bug?
No description
23 replies
WWasp
Created by fustuk. on 1/2/2025 in #đŸ™‹questions
New SaaS app Bug?
No description
23 replies
WWasp
Created by fustuk. on 1/2/2025 in #đŸ™‹questions
New SaaS app Bug?
No description
23 replies
WWasp
Created by fustuk. on 1/2/2025 in #đŸ™‹questions
New SaaS app Bug?
My previous project was using 20.11.1 so I dont think the issue is on my end, has any dependency version been updated recently @kapa.ai
23 replies
WWasp
Created by fustuk. on 12/3/2024 in #đŸ™‹questions
Custom Job ReferenceError: process is not defined at config.ts:41:20
@kapa.ai how can I access the current user id from my job?
12 replies
WWasp
Created by fustuk. on 12/3/2024 in #đŸ™‹questions
Custom Job ReferenceError: process is not defined at config.ts:41:20
Great, issue resolved
12 replies
WWasp
Created by fustuk. on 10/10/2024 in #đŸ™‹questions
Wasp Railway Migrations
sorry I just saw that, they have a weird way of interacting with their server... you run railway run {command_to_run} so I deleted the migration, deleted the data that was causing issues and redeployed and it worked
8 replies
WWasp
Created by fustuk. on 10/10/2024 in #đŸ™‹questions
Wasp Railway Migrations
nvm fixed it
8 replies
WWasp
Created by fustuk. on 10/10/2024 in #đŸ™‹questions
Wasp Railway Migrations
is there even a wasp db command for rollbacks?
8 replies
WWasp
Created by dbalbo on 9/13/2024 in #đŸ™‹questions
websockets - emit event from server
it does, but the docs and maybe the config around sockets need to be updated in the future
16 replies
WWasp
Created by fustuk. on 9/26/2024 in #đŸ™‹questions
Custom session token
gotcha
22 replies
WWasp
Created by fustuk. on 9/26/2024 in #đŸ™‹questions
Custom session token
regardless its working now :be:
22 replies
WWasp
Created by fustuk. on 9/26/2024 in #đŸ™‹questions
Custom session token
Thank you! I guess you guys missnamed it or something ?
22 replies
WWasp
Created by fustuk. on 9/26/2024 in #đŸ™‹questions
Custom session token
thanks but I still get some weird errors :/
const authId = await prisma.auth.findFirst({
where: {
userId: user.id
}
})
console.log(authId)
const y = await prisma.session.create({
data: {
userId: user.id,
id: sessionId,
expiresAt: expirationDate
}
})
const authId = await prisma.auth.findFirst({
where: {
userId: user.id
}
})
console.log(authId)
const y = await prisma.session.create({
data: {
userId: user.id,
id: sessionId,
expiresAt: expirationDate
}
})
2024-09-27 10:25:18.953 UTC [3718] ERROR: insert or update on table "Session" violates foreign key constraint "Session_userId_fkey"
2024-09-27 10:25:18.953 UTC [3718] DETAIL: Key (userId)=(0787f58e-8090-46ee-9c40-399cd6c61546) is not present in table "Auth".
2024-09-27 10:25:18.953 UTC [3718] ERROR: insert or update on table "Session" violates foreign key constraint "Session_userId_fkey"
2024-09-27 10:25:18.953 UTC [3718] DETAIL: Key (userId)=(0787f58e-8090-46ee-9c40-399cd6c61546) is not present in table "Auth".
Foreign key constraint failed on the field: `Session_userId_fkey (index)`
Foreign key constraint failed on the field: `Session_userId_fkey (index)`
But my user is in the auth table
22 replies
WWasp
Created by fustuk. on 9/26/2024 in #đŸ™‹questions
Custom session token
[ Server!] SyntaxError: The requested module '@prisma/client' does not provide an export named 'Session' I get an error when trying to import it tho
22 replies
WWasp
Created by fustuk. on 9/26/2024 in #đŸ™‹questions
Custom session token
I saw that the cookie/bearer whatever it is, comes from Session but we dont have a model for it in prisma
22 replies