castVote(dumpId: string,userId: string): VoteResult
Records userId's upvote on a dump and notifies the dump's poster. The
notification is best-effort: if it fails, the vote still counts.
castVote(dumpId: string,userId: string): VoteResult
Records userId's upvote on a dump and notifies the dump's poster. The
notification is best-effort: if it fails, the vote still counts.
import { castVote } from "api/services/vote-service.ts";