Skip to content

Commit e71f742

Browse files
committed
fix ENABLE_ACTION_PROCESSING logic
1 parent b78fbfe commit e71f742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client-twitter/src/post.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export class TwitterPostClient {
175175

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

180180
if (enableActionProcessing) {
181181
processActionsLoop().catch((error) => {

0 commit comments

Comments
 (0)