API Update

This commit is contained in:
1tzEmerald committed 2026-07-26 14:21:07 +01:00
1 parent b145d5fa01
commit 69371ae619
1 file changed
+4 -4
+4 -4
View File
@@ -89,7 +89,7 @@ const {
} = require('../Structures/AddonCatalog.js'); } = require('../Structures/AddonCatalog.js');
const DASHBOARD_DIR = path.join(__dirname, '../public/dashboard'); const DASHBOARD_DIR = path.join(__dirname, '../public/dashboard');
const UPDATE_REPO = 'C-h-a-r/SupportBot-Dashboard'; const UPDATE_REPO = 'Emerald-Services/SupportBot-Dashboard';
const UPDATE_BRANCH = 'release'; const UPDATE_BRANCH = 'release';
const UPDATE_ZIP_URL = `https://github.com/${UPDATE_REPO}/archive/refs/heads/${UPDATE_BRANCH}.zip`; const UPDATE_ZIP_URL = `https://github.com/${UPDATE_REPO}/archive/refs/heads/${UPDATE_BRANCH}.zip`;
@@ -1016,9 +1016,9 @@ h1{font-size:1.25rem}a{color:#a78bfa}</style></head><body>
const initialLines = hasCursor const initialLines = hasCursor
? 0 ? 0
: Math.min( : Math.min(
1000, 1000,
Math.max(0, parseInt(tailParam, 10) || 400), Math.max(0, parseInt(tailParam, 10) || 400),
); );
const { entries, cursor: nextCursor } = fetchLogs(types, cursor, initialLines); const { entries, cursor: nextCursor } = fetchLogs(types, cursor, initialLines);