mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-18 13:54:09 +02:00
cleanup
This commit is contained in:
committed by
Peter M. Elias
parent
a79ec67d9c
commit
7c72d987f9
@@ -1,9 +1,9 @@
|
||||
import { z } from "zod";
|
||||
import { githubRequest } from "../common/utils";
|
||||
import { githubRequest } from "../common/utils.js";
|
||||
import {
|
||||
GitHubIssueAssigneeSchema,
|
||||
GitHubRepositorySchema
|
||||
} from "../common/types";
|
||||
} from "../common/types.js";
|
||||
|
||||
// Schema definitions
|
||||
export const GitHubPullRequestHeadSchema = z.object({
|
||||
@@ -115,4 +115,4 @@ export async function listPullRequests(
|
||||
|
||||
const response = await githubRequest(url.toString());
|
||||
return z.array(GitHubPullRequestSchema).parse(response);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user