Skip to content

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

Open
@leggetter

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

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