Showing
1 changed file
with
2 additions
and
2 deletions
@@ -189,8 +189,8 @@ public class DeviceProfileServiceImpl extends AbstractEntityService implements D | @@ -189,8 +189,8 @@ public class DeviceProfileServiceImpl extends AbstractEntityService implements D | ||
189 | if (changed) { | 189 | if (changed) { |
190 | cache.evict(Collections.singletonList(deviceProfile.getId().getId())); | 190 | cache.evict(Collections.singletonList(deviceProfile.getId().getId())); |
191 | cache.evict(Arrays.asList("info", deviceProfile.getId().getId())); | 191 | cache.evict(Arrays.asList("info", deviceProfile.getId().getId())); |
192 | - cache.evict(Arrays.asList("default", tenantId)); | ||
193 | - cache.evict(Arrays.asList("default", "info", tenantId)); | 192 | + cache.evict(Arrays.asList("default", tenantId.getId())); |
193 | + cache.evict(Arrays.asList("default", "info", tenantId.getId())); | ||
194 | } | 194 | } |
195 | return changed; | 195 | return changed; |
196 | } | 196 | } |