fix: error

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

No files matched your search

+1 -1
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') {