Merge branch 'main' into enable-hard-mode

enable-hard-mode
kodiakhq[bot] 2022-03-03 16:44:26 +00:00 committed by GitHub
commit 074d0df6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,