- Visual Studio Code Editor (https://code.visualstudio.com/)
- MDN HTML/CSS Documentation (https://developer.mozilla.org/en-US/docs/Web)
- Netlify Web Hosting (https://www.netlify.com/)
- Namecheap Domain Registration (https://www.namecheap.com/)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mutation: { | |
editIssue: async (_, { input }, ctx) => { | |
if (!ctx.user) | |
throw new GraphQLError('UNAUTHORIZED', { extensions: { code: 401 } }) | |
const { id, ...update } = input | |
const result = await db | |
.update(issues) | |
.set(update ?? {}) |
OlderNewer