feat: Publish branch functionality (#66)

This commit is contained in:
viper151
2025-07-14 17:46:11 +02:00
committed by GitHub
parent f28dc0140e
commit 33aea3f7e8
3 changed files with 194 additions and 43 deletions

View File

@@ -374,9 +374,7 @@ function Sidebar({
try {
const currentSessionCount = (project.sessions?.length || 0) + (additionalSessions[project.name]?.length || 0);
const response = await fetch(
`/api/projects/${project.name}/sessions?limit=5&offset=${currentSessionCount}`
);
const response = await api.sessions(project.name, 5, currentSessionCount);
if (response.ok) {
const result = await response.json();