We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eacacf3 commit 0c213dcCopy full SHA for 0c213dc
telegram-bot/src/main/java/project/vilsoncake/telegrambot/bot/ScheduleSender.java
@@ -123,7 +123,7 @@ public void sendLandingWideBodyFlights() {
123
List<FlightEntity> flights = flightService.findAllByUser(user);
124
125
for (FlightEntity flightEntity : flights) {
126
- if (flightEntity.isActive() && !flightEntity.getRegistration().isBlank() && !flightEntity.isLanding()) {
+ if (flightEntity.isActive() && flightEntity.getRegistration() != null && !flightEntity.getRegistration().isBlank() && !flightEntity.isLanding()) {
127
128
FlightDataDto flight;
129
try {
0 commit comments