Skip to content

Fix deleting contacts by external_id via API - #552

Open
JoeJoeflyn wants to merge 1 commit into
pentacent:mainfrom
JoeJoeflyn:fix/delete-by-external-id
Open

Fix deleting contacts by external_id via API#552
JoeJoeflyn wants to merge 1 commit into
pentacent:mainfrom
JoeJoeflyn:fix/delete-by-external-id

Conversation

@JoeJoeflyn

Copy link
Copy Markdown

external_id was missing from the @fields list in Keila.Contacts.Query, so filtering by external_id (which the delete API endpoint does when id_type=external_id) silently matched nothing and the contact was not deleted.

Adds external_id to @fields so the filter builds a valid query.

Closes #548.

`external_id` was missing from the `@fields` list in
`Keila.Contacts.Query`, so filtering by `external_id` (which the delete
API endpoint does when `id_type=external_id`) silently matched nothing.

Adds `external_id` to `@fields` so the filter builds a valid query.

Closes pentacent#548.
@JoeJoeflyn
JoeJoeflyn force-pushed the fix/delete-by-external-id branch from b08a89a to c40e628 Compare July 27, 2026 11:43
@wmnnd

wmnnd commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Thanks for finding this bug and fixing it! I saw you signed the CLA in the other PR, so I'll merge this after that one has been merged.

@JoeJoeflyn

Copy link
Copy Markdown
Author

tks, appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleting a contact via API using the external_id

2 participants