Skip to content

Commit

Permalink
use limit=50
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon committed Aug 28, 2024
1 parent b2c80ad commit f2c5f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/mass_deleter.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const deleteDrafts = async function ({ blogName, before }) {
});

const drafts = [];
let resource = `/v2/blog/${blogName}/posts/draft`;
let resource = `/v2/blog/${blogName}/posts/draft?limit=50`;

while (resource) {
await Promise.all([
Expand Down

0 comments on commit f2c5f1d

Please sign in to comment.