function notifyPlaylistOwnerNewFollower
notifyPlaylistOwnerNewFollower(
followerId: string,
playlistId: string
): void

Notifies a playlist's owner that followerId follows it, unless they are the owner, and once however often they unfollow and follow again. followPlaylist calls it.

Parameters

followerId: string
playlistId: string

Return Type

void

Usage

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