Skip to content

Commit

Permalink
Merge pull request #1463 from zkvm/fix-twitter-enable-action-processing
Browse files Browse the repository at this point in the history
fix: fix ENABLE_ACTION_PROCESSING logic
  • Loading branch information
shakkernerd authored Dec 26, 2024
2 parents 99106da + 2e7075f commit 9c5b91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client-twitter/src/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class TwitterPostClient {

// Add check for ENABLE_ACTION_PROCESSING before starting the loop
const enableActionProcessing =
this.runtime.getSetting("ENABLE_ACTION_PROCESSING") ?? false;
this.runtime.getSetting("ENABLE_ACTION_PROCESSING") === "true" || false;

if (enableActionProcessing) {
processActionsLoop().catch((error) => {
Expand Down

0 comments on commit 9c5b91e

Please sign in to comment.