Skip to main content

talawa-api / Exports / resolvers/Mutation/unlikePost

Module: resolvers/Mutation/unlikePost

Table of contents

Variables

Variables

unlikePost

Const unlikePost: MutationResolvers["unlikePost"]

This function enables to unlike a post.

Param

parent of current request

Param

payload provided with the request

Param

context of entire application

Remarks

The following checks are done:

  1. If the user exists.
  2. If the post exists

Defined in

src/resolvers/Mutation/unlikePost.ts:18