How can i add prismaService to this initFunction, ...
# support-questions-legacy
d
How can i add prismaService to this initFunction, i try to add this service to constructor, but this solution not working :/
r
What’s the error you are getting?
The context of “this” is different in the signUp function
Instead, copy over this.PrismaService to a variable at the start of the Constructor and then use that variable instead
2 Views