IAV-256/fix(credential): correct N8N type mapping for WHATSAPP_OAUTH to whatsAppTriggerApi
Summary
Fixes an incorrect N8N type name used when creating or replicating WhatsApp OAuth credentials.
Change
| Field | Before | After |
|---|---|---|
WHATSAPP_OAUTH N8N type |
whatsAppOAuthApi |
whatsAppTriggerApi |
Impact
- Credential creation and replication for
WHATSAPP_OAUTHwill now use the correct N8N type name. - No database migration required.
Files Changed
-
CredentialServiceImpl.java—mapCredentialTypeToN8NType()switch case forWHATSAPP_OAUTH