Closed ethan0905 closed 1 year ago
I tried: 1- changing the var names (nothing changed) 2- to give my token.access_token to my username (the name is created with the token string) 3- to add the @unique decorator (still not removing the error)
The problem seems to have been related to node_modules, not allowing to use those newly created datas for some reason...
A stop of the docker + make clean_modules
+ make
command was enough to fix the issue.
I verified multiple time if the schema was well exported (using
npx prisma migrate dev
andnpx prisma generate
) but the error stays. when i exported the migrations with theaccessToken
andrefreshToken
variables:server side error:
schema.prisma:
auth.service.ts: