Hi, I'd like to work on this under GSSoC '26! I've reviewed the cards.ts source and confirmed that the DELETE /:id handler has no logic to promote another card as default after the default card is deleted. I'll add the auto-promotion logic, handle the edge case where the deleted card is the last one, and add a test covering this scenario. Please assign this issue to me.
Hi, I'd like to work on this under GSSoC '26! I've reviewed the cards.ts source and confirmed that the DELETE /:id handler has no logic to promote another card as default after the default card is deleted. I'll add the auto-promotion logic, handle the edge case where the deleted card is the last one, and add a test covering this scenario. Please assign this issue to me.