Web - Serveur

dimanche 3 janvier 2021, 21:47  #1
Web - Serveur - GraphQL
m1dugh
  • 6 posts

I tried to fetch the flag through the posts directly and it seemed that the required posts where hidden away from me so I tried to fetch the comments through the createPost method but when I run it I get

{
 "errors": [
   {
     "message": "post is not defined",
     "locations": [
       {
         "line": 2,
         "column": 3
       }
     ],
     "path": [
       "createPost"
     ],
     "extensions": {
       "code": "INTERNAL_SERVER_ERROR"
     }
   }
 ],
 "data": {
   "createPost": null
 }
}

What have I done wrong yet ?