mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-18 08:03:26 +02:00
cleanup
This commit is contained in:
committed by
Peter M. Elias
parent
a79ec67d9c
commit
7c72d987f9
@@ -1,5 +1,5 @@
|
||||
import { z } from "zod";
|
||||
import { githubRequest, buildUrl } from "../common/utils";
|
||||
import { githubRequest, buildUrl } from "../common/utils.js";
|
||||
|
||||
// Schema definitions
|
||||
export const SearchCodeSchema = z.object({
|
||||
@@ -101,4 +101,4 @@ export async function searchUsers(params: SearchUsersParams): Promise<SearchUser
|
||||
const url = buildUrl("https://api.github.com/search/users", params);
|
||||
const response = await githubRequest(url);
|
||||
return SearchUsersResponseSchema.parse(response);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user