fix: error

This commit is contained in:
手瓜一十雪
2024-11-14 11:53:55 +08:00
parent bbeac86403
commit aee19abd10
10 changed files with 9 additions and 265 deletions

View File

@@ -93,7 +93,7 @@ export class RequestUtil {
});
});
req.on('error', (error: any) => {
req.on('error', (error: Error) => {
reject(error);
});
if (method === 'POST' || method === 'PUT' || method === 'PATCH') {