function notifyUserNewFollower
notifyUserNewFollower(
followerId: string,
followedUserId: string
): void

Notifies followedUserId that followerId follows them, once however often they unfollow and follow again. followUser calls it.

Parameters

followerId: string
followedUserId: string

Return Type

void

Usage

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