clash-api icon indicating copy to clipboard operation
clash-api copied to clipboard

Fix(enum): update WarState ENDED serial name to "warEnded"

Open nechanie opened this issue 8 months ago • 1 comments

The Clash of Clans API now returns "warEnded" instead of "ended" for the ENDED state.
This updates the @SerialName on WarState.ENDED to match the new API value and prevents deserialization errors.
Contributed under GPL-3.0.

nechanie avatar May 25 '25 20:05 nechanie

+1, this needs to be merged, running into the same issue. Has someone a workaround?

Femumme avatar May 29 '25 17:05 Femumme