From b4f5f169cc438a2d0117eb266461b5d3b2fe029b Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Sun, 31 May 2026 14:33:06 +0300 Subject: [PATCH] fix: adminListArticles uses /admin endpoint, fix status display --- lib/engine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/engine.js b/lib/engine.js index b037bf3..83c0227 100644 --- a/lib/engine.js +++ b/lib/engine.js @@ -74,8 +74,8 @@ export async function generateArticle(data) { // ── Admin API ───────────────────────────────────────────────────────────────── -export async function adminListArticles({ limit = 50, offset = 0 } = {}) { - return call(`/api/articles?limit=${limit}&offset=${offset}`); +export async function adminListArticles({ limit = 100, offset = 0 } = {}) { + return call(`/api/articles/admin?limit=${limit}&offset=${offset}`); } export async function adminGetArticle(id) {