Skip to main content

deleteCommentFromCache

talawa-api


talawa-api / services/CommentCache/deleteCommentFromCache / deleteCommentFromCache

Function: deleteCommentFromCache()

> deleteCommentFromCache(comment): Promise<void>

Deletes the specified comment from Redis cache.

Parameters

comment

InterfaceComment

The InterfaceComment object representing the comment to delete.

Returns

Promise<void>

A promise resolving to void.

Defined in

src/services/CommentCache/deleteCommentFromCache.ts:10