Merge branch 'main' into enable-hard-mode
commit
074d0df6f6
|
@ -26,7 +26,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
|
|||
const ssr = await ssrInit(context);
|
||||
const user = await prisma.user.findUnique({
|
||||
where: {
|
||||
username: asStringOrThrow(context.query.user),
|
||||
username: asStringOrThrow(context.query.user).toLowerCase(),
|
||||
},
|
||||
select: {
|
||||
id: true,
|
||||
|
|
Loading…
Reference in New Issue