Skip to content

Commit 3357ccf

Browse files
authored
GET deletes by identity, not required params
1 parent 5ed3a74 commit 3357ccf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lightbeam/delete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def do_deletes(self, endpoint):
5454
tasks = []
5555

5656
# determine the fields that uniquely define a record for this endpoint
57-
params_structure = self.lightbeam.api.get_params_for_endpoint(endpoint)
57+
params_structure = self.lightbeam.api.get_params_for_endpoint(endpoint, type='identity')
5858

5959
# for Descriptors, we need to fetch all Descriptor values first, then we can look up the ID for deletion
6060
if endpoint.endswith('Descriptors'):

0 commit comments

Comments
 (0)