-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
Description
Description
After the first request, the findBy will always return the cached value even if language param change
HawAPI/src/main/java/com/lucasjosino/hawapi/services/base/BaseService.java
Lines 35 to 36 in e3d59ce
| @Cacheable(value = "findBy", key = "#uuid") | |
| D findBy(UUID uuid, String language); |
Examples
Requesting with:
/api/v1/seasons/3b980ad3-aef8-4663-a7a9-64cb4979500a?language=en-US
And after with:
/api/v1/seasons/3b980ad3-aef8-4663-a7a9-64cb4979500a?language=pt-BR
Will always return the value in english
Logging
Cache entry for key '3b980ad3-aef8-4663-a7a9-64cb4979500a' found in cache 'findBy'
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done