Fix: @lid problems, messages events and chatwoot integration errors #545
check_code_quality.yml
on: pull_request
check-lint-and-build
35s
Annotations
9 errors
|
check-lint-and-build
Process completed with exit code 1.
|
|
check-lint-and-build:
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts#L1692
'_msg' is assigned a value but never used
|
|
check-lint-and-build:
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts#L1565
Replace `(update.messageTimestamp·&&·update.messageTimestamp·===·cached)·||·(!update.messageTimestamp·&&·secondsSinceEpoch·===·cached)` with `⏎··········(update.messageTimestamp·&&·update.messageTimestamp·===·cached)·||⏎··········(!update.messageTimestamp·&&·secondsSinceEpoch·===·cached)⏎········`
|
|
check-lint-and-build:
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts#L1563
Replace `cached,·updateKey,·messageTimestamp:·update.messageTimestamp,·secondsSinceEpoch` with `·cached,·updateKey,·messageTimestamp:·update.messageTimestamp,·secondsSinceEpoch·`
|
|
|
|
check-lint-and-build:
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts#L1352
'pollUpdates' is assigned a value but never used
|
|
check-lint-and-build:
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts#L1271
'err' is defined but never used
|
|
check-lint-and-build:
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts#L1252
Replace `⏎··················...new·Set(voterCandidates.filter(Boolean).map((id)·=>·jidNormalizedUser(id))),⏎················` with `...new·Set(voterCandidates.filter(Boolean).map((id)·=>·jidNormalizedUser(id)))`
|
|
check-lint-and-build:
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts#L1
Run autofix to sort these imports!
|