3 times is a charm.. can't believe this took 3 tries.
This commit is contained in:
parent
e7314257c3
commit
a30381f229
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export const bookingRouter = createRouter().query("userEventTypes", {
|
||||||
|
|
||||||
const user = await prisma.user.findUnique({
|
const user = await prisma.user.findUnique({
|
||||||
where: {
|
where: {
|
||||||
username,
|
username: username.toLowerCase(),
|
||||||
},
|
},
|
||||||
select: {
|
select: {
|
||||||
id: true,
|
id: true,
|
||||||
|
|
Loading…
Reference in a new issue