Skip to content

Packages  ›  trotsky  ›  StepPostUnrepost  ›  apply

StepPostUnrepost.apply() method

Applies the step logic to unrepost the post provided in the context. Only unreposts if the user has previously reposted the post.

Signature:

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

Returns:

Promise<void>

Exceptions

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