diff --git a/ventures/havre/venice.js b/ventures/havre/venice.js index 8ce219d..54ee2cc 100644 --- a/ventures/havre/venice.js +++ b/ventures/havre/venice.js @@ -261,9 +261,9 @@ export class Venice { return { amount: typeof amount === "number" ? amount : null, currency, canConsume: !!(d && d.canConsume) }; } - /** Public Venice characters as returned by the API, without a Havre content-category filter. */ - async characterPage({ search = "", limit = 24, offset = 0, sort = "", tags = "" } = {}) { - const q = new URLSearchParams({ limit: String(limit), offset: String(offset) }); + /** The selected Venice catalog: standard by default, or 18+. This is a search selection, not a permission gate. */ + async characterPage({ search = "", limit = 24, offset = 0, sort = "", tags = "", adult = false } = {}) { + const q = new URLSearchParams({ limit: String(limit), offset: String(offset), isAdult: String(!!adult) }); if (search) q.set("search", search); if (sort) q.set("sortBy", sort); if (tags) q.set("tags", tags);