Closed ghost closed 3 years ago
Available args: type PostUncheckedCreateInput { id?: Int title: String content?: String | Null published?: Boolean authorId?: Int | Null }
What should I modify in pages/api/post/index.ts for this to work?
Nvm. I found out that GitHub user needs to set a public email or it will return null. Thanks
Available args: type PostUncheckedCreateInput { id?: Int title: String content?: String | Null published?: Boolean authorId?: Int | Null }
What should I modify in pages/api/post/index.ts for this to work?