Skip to content

Commit 8239d54

Browse files
authored
Flatten results
1 parent b95434f commit 8239d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/notion/actions/append-block/append-block.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ export default {
117117
const totalAppended = results.reduce((sum, res) => sum + res.length, 0);
118118

119119
$.export("$summary", `Appended ${totalAppended} block(s) successfully`);
120-
return results;
120+
return results.flat();
121121
},
122122
};

0 commit comments

Comments
 (0)