Skip to main content

talawa-api / Exports / utilities/uploadImage

Module: utilities/uploadImage

Table of contents

Functions

Functions

uploadImage

uploadImage(newImageFile, oldImagePath): Promise<{ imageAlreadyInDbPath: string ; newImagePath: string }>

Parameters

NameType
newImageFileTypeNewImageFile
oldImagePathnull | string

Returns

Promise<{ imageAlreadyInDbPath: string ; newImagePath: string }>

Defined in

src/utilities/uploadImage.ts:22