Skip to content
Snippets Groups Projects
Commit 22ada640 authored by Martin Slovík's avatar Martin Slovík
Browse files

Fixing AirplaneType assignment to be persistent

parent ad139d5b
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,7 @@ public class AirplaneFacadeImpl implements AirplaneFacade<Long> { ...@@ -84,6 +84,7 @@ public class AirplaneFacadeImpl implements AirplaneFacade<Long> {
if (airplaneEntity.isPresent() && airplaneTypeEntity.isPresent()) { if (airplaneEntity.isPresent() && airplaneTypeEntity.isPresent()) {
airplaneEntity.get().setType(null); airplaneEntity.get().setType(null);
airplaneService.save(airplaneEntity.get());
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment