Skip to content

ToggleLike

Add or remove a like from a likeable type. Returns all the users who liked the same model

ToggleLike(
id: Int
type: LikeableType
): [User]

The id of the likeable type

The type of model to be un/liked

A user