getAgendaItem
talawa-api / resolvers/Query/agendaItemById / getAgendaItem
Variable: getAgendaItem
> const
getAgendaItem: QueryResolvers
["getAgendaItem"
]
Retrieves an agenda item by its ID.
This function fetches a specific agenda item from the database using its ID. If the agenda item is not found, it throws an error indicating that the item does not exist.
Param
This parameter is not used in this resolver function.
Param
The arguments provided by the GraphQL query, including the ID of the agenda item to retrieve.
Returns
The agenda item with the specified ID.