fix doc numer increase

This commit is contained in:
2026-07-22 10:51:34 -05:00
parent 18fec009a4
commit 248affc0f9
2 changed files with 40 additions and 24 deletions

View File

@@ -197,8 +197,10 @@ async function makeQboApiCall(requestOptions) {
await doRefresh();
return await client.makeApiCall(requestOptions);
}
throw new Error(`QBO API Error ${qboFault.code}: ${qboFault.message}${qboFault.detail ? ' - ' + qboFault.detail : ''}`);
}
const err = new Error(`QBO API Error ${qboFault.code}: ${qboFault.message}${qboFault.detail ? ' - ' + qboFault.detail : ''}`);
err.qboCode = qboFault.code;
err.qboFault = qboFault;
throw err; }
// ── Kein saveTokens() hier Token hat sich nicht geändert ──
return response;