minor change
This commit is contained in:
parent
9bee9b8ae4
commit
6f5245cbc4
|
@ -62,7 +62,12 @@ export default async function verifySubscription(
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!active) {
|
if (!active) {
|
||||||
return null;
|
if (user.username)
|
||||||
|
// await prisma.user.update({
|
||||||
|
// where: { id: user.id },
|
||||||
|
// data: { username: null },
|
||||||
|
// });
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -261,7 +261,7 @@ export default function Dashboard() {
|
||||||
title="JSON File"
|
title="JSON File"
|
||||||
className="flex items-center gap-2 py-1 px-2 hover:bg-slate-200 hover:dark:bg-neutral-700 duration-100 cursor-pointer"
|
className="flex items-center gap-2 py-1 px-2 hover:bg-slate-200 hover:dark:bg-neutral-700 duration-100 cursor-pointer"
|
||||||
>
|
>
|
||||||
Linkwarden...
|
Linkwarden File...
|
||||||
<input
|
<input
|
||||||
type="file"
|
type="file"
|
||||||
name="photo"
|
name="photo"
|
||||||
|
|
|
@ -269,7 +269,7 @@ export default function Account() {
|
||||||
title="JSON File"
|
title="JSON File"
|
||||||
className="flex items-center gap-2 py-1 px-2 hover:bg-slate-200 hover:dark:bg-neutral-700 duration-100 cursor-pointer"
|
className="flex items-center gap-2 py-1 px-2 hover:bg-slate-200 hover:dark:bg-neutral-700 duration-100 cursor-pointer"
|
||||||
>
|
>
|
||||||
Linkwarden...
|
Linkwarden File...
|
||||||
<input
|
<input
|
||||||
type="file"
|
type="file"
|
||||||
name="photo"
|
name="photo"
|
||||||
|
|
Ŝarĝante…
Reference in New Issue