talawa-api / Exports / resolvers/Mutation/deleteNote
Module: resolvers/Mutation/deleteNote
Table of contents
Variables
Variables
deleteNote
• Const
deleteNote: MutationResolvers
["deleteNote"
]
This function deletes a note.
Param
parent of the current request
Param
payload provided with the request
Param
context of the entire application
Throws
NotFoundError if the user or note is not found
Throws
UnauthorizedError if the user is not the creator of the note.