mirror of
http://172.20.10.11:3000/gitadmin/INSIGHT-MVP.git
synced 2026-06-25 01:36:39 +02:00
fix(crm): add mandatory voucherStatus=any to Lexware voucherlist API call
The Lexware Office API requires voucherStatus as a mandatory parameter for the /v1/voucherlist endpoint. Without it, the API returns 400 Bad Request. Using 'any' fetches vouchers regardless of status. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b4d1f33862
commit
4924875e92
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ export class LexwareVouchersService {
|
||||||
{
|
{
|
||||||
contactId: lexwareContactId,
|
contactId: lexwareContactId,
|
||||||
voucherType,
|
voucherType,
|
||||||
|
voucherStatus: 'any',
|
||||||
page,
|
page,
|
||||||
size: 100,
|
size: 100,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue