From 7116d7939b8b7912df06d29fdca030c496a96577 Mon Sep 17 00:00:00 2001 From: South Drifted Date: Sat, 23 Mar 2024 23:55:04 +0800 Subject: [PATCH] fix: Resolve Method typo of REST API (#1) --- packages/gopeed-rest/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, });