Skip to content

Commit 633e0d9

Browse files
committed
fix: update to new format
1 parent dfad6f8 commit 633e0d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/readability/opportunities/guidance-handler.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ function enrichSuggestionDataForAutoOptimize(data) {
2727
url: data.pageUrl,
2828
scrapedAt: new Date(data.scrapedAt).toISOString(),
2929
transformRules: {
30-
action: 'replace',
30+
value: data.improvedText,
31+
op: 'replace',
3132
selector: data.selector,
33+
target: 'ai-bots',
34+
prerenderRequired: true,
3235
},
3336
};
3437
}

0 commit comments

Comments
 (0)