Skip to main content

talawa-api / Exports / resolvers/Mutation/removeUserImage

Module: resolvers/Mutation/removeUserImage

Table of contents

Variables

Variables

removeUserImage

Const removeUserImage: MutationResolvers["removeUserImage"]

This function enables to remove user image.

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 image exists

Defined in

src/resolvers/Mutation/removeUserImage.ts:19