Moltivie / the-t3-stack

Found non-null assertions JS-0339
Anti-pattern
Major
a year agoa year old
Forbidden non-null assertion
137      // Update the new username on the prisma database using the ctx
138      const user = await ctx.prisma.user.update({
139        where: {
140          email: ctx.session.user.email!,141        },
142        data: {
143          name: input.name,