Skip to content

Packages  ›  trotsky  ›  StepPostUnlike  ›  apply

StepPostUnlike.apply() method

Applies the step logic to unlike the post provided in the context. Only unlikes if the user has previously liked the post.

Signature:

typescript
/** @override */
apply(): Promise<void>;

Returns:

Promise<void>

Exceptions

Error if the context does not provide the required post data.