function notifyDumpOwnerUpvote
notifyDumpOwnerUpvote(
voterId: string,
dumpId: string
): void

Notifies a dump's poster that voterId upvoted it, unless they are the poster, and once however often the vote is withdrawn and cast again. castVote calls it.

Parameters

voterId: string
dumpId: string

Return Type

void

Usage

import { notifyDumpOwnerUpvote } from "api/services/notification-service.ts";