Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4044,7 +4044,7 @@ async function getRepositoryTree(options: GetRepositoryTreeOptions): Promise<Git
if (options.recursive) queryParams.append("recursive", "true");
if (options.per_page) queryParams.append("per_page", options.per_page.toString());
if (options.page_token) queryParams.append("page_token", options.page_token);
if (options.pagination) queryParams.append("pagination", options.pagination);
if (options.page) queryParams.append("page", options.page);

const headers: Record<string, string> = {
...BASE_HEADERS,
Expand Down
4 changes: 2 additions & 2 deletions schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ export const GetRepositoryTreeSchema = z.object({
.describe("The name of a repository branch or tag. Defaults to the default branch."),
recursive: z.boolean().optional().describe("Boolean value to get a recursive tree"),
per_page: z.number().optional().describe("Number of results to show per page"),
page_token: z.string().optional().describe("The tree record ID for pagination"),
pagination: z.string().optional().describe("Pagination method (keyset)"),
page_token: z.string().optional().describe("The tree record ID for page"),
page: z.string().optional().describe("Page method (keyset)"),
});

export const GitLabTreeSchema = z.object({
Expand Down