fixed delete LocationEntity
This commit is contained in:
@@ -53,7 +53,7 @@ public class LocationService {
|
|||||||
if(!exists){
|
if(!exists){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
locationRepository.deleteByLocation(name);
|
locationRepository.delete(getLocationByName(name));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user