Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "data": null,
- "errors": [
- {
- "message": "Your token is invalid. It might have expired or you might be using a token from a different project.",
- "locations": [],
- "path": [
- "user"
- ],
- "code": 3015,
- "requestId": "local:api:cjj94kifg00if0936d4p2ywqx"
- }
- ]
- }
- # import User from './generated/prisma.graphql'
- scalar JSON
- type Query {
- fetchUsers: JSON!
- }
- type Mutation {
- signup(email: String!, password: String!, firstName: String!, lastName: String!):AuthPayload!
- login(email: String!, password: String!): AuthPayload!
- }
- type AuthPayload {
- token: String
- user: User
- }
- type User {
- id: ID!
- firstName: String!
- lastName: String!
- email: String!
- }
Add Comment
Please, Sign In to add comment