We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a69e20e commit 04f0c4fCopy full SHA for 04f0c4f
app/routes/resources+/download-user-data.tsx
@@ -3,8 +3,6 @@ import { requireUserId } from '#app/utils/auth.server.ts'
3
import { prisma } from '#app/utils/db.server.ts'
4
import { getDomainUrl } from '#app/utils/misc.tsx'
5
6
-export const ROUTE_PATH = '/resources/download-user-data'
7
-
8
export async function loader({ request }: DataFunctionArgs) {
9
const userId = await requireUserId(request)
10
const user = await prisma.user.findUniqueOrThrow({
0 commit comments