django-qsessions icon indicating copy to clipboard operation
django-qsessions copied to clipboard

fix: update consumers when custom_id is also set

Open GGabriele opened this issue 2 years ago • 1 comments

Right now decK only uses ID and Username for Consumers lookup, which is problematic because CustomID is also unique and modifying a Username causes a Consumer re-creation, which triggers a collision for the CustomID field.

This PR makes sure that CustomID is included in the lookup loop, so that such Consumers changes can be made in-place.

Solves https://github.com/Kong/deck/issues/698

GGabriele avatar Jun 29 '22 09:06 GGabriele