Skip to content

Commit

Permalink
Removed filter in bulk action endpoint, we only have ids in that object
Browse files Browse the repository at this point in the history
  • Loading branch information
sagzy committed Mar 6, 2024
1 parent 143aa00 commit 35b8b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghost/posts-service/lib/PostsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ class PostsService {
message: tpl(messages.invalidTiers)
});
}
tiers = data.meta.tiers.filter(t => t.type === 'paid');
tiers = data.meta.tiers;
}
return await this.#updatePosts({visibility: data.meta.visibility, tiers}, {filter: options.filter, context: options.context});
}
Expand Down

0 comments on commit 35b8b78

Please sign in to comment.