chore: first commit

This commit is contained in:
Han Xiao 2025-02-05 10:10:30 +08:00
parent a83bff0feb
commit 0dd06c1057

View File

@ -27,7 +27,7 @@ export function readUrl(url: string, token: string, tracker?: TokenTracker): Pro
res.on('data', (chunk) => responseData += chunk);
res.on('end', () => {
const response = JSON.parse(responseData) as ReadResponse;
console.log('Raw read response:', response);
// console.log('Raw read response:', response);
if (response.code === 402) {
reject(new Error(response.readableMessage || 'Insufficient balance'));