fix doc numer increase
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user