Skip to content

sample-next-auth-pages does not build #516

Description

@leggetter

Creating an issue to track a few problems I've found with the app:

  • xata:init in package.json refers to a --schema=schema.template.json when it should be --schema=schema-template.json. Hyphen not period.
  • The app uses getServerSession, which requires the req param to be a NextApiRequest, but the req is a standard Request.
  • References to import { XataClient } from '~/lib/xata.codegen' should be updated to ~/shared/xata.codegen

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions