diff --git a/packages/gopeed-rest/src/index.ts b/packages/gopeed-rest/src/index.ts index 4c19201..4e48854 100644 --- a/packages/gopeed-rest/src/index.ts +++ b/packages/gopeed-rest/src/index.ts @@ -41,7 +41,7 @@ class Client { * @param request - The request to create a new download task * @returns */ - public async resole(request: Request): Promise { + public async resolve(request: Request): Promise { return this.doRequest('POST', '/api/v1/resolve', { data: request, });