diff --git a/Yavsc/Controllers/Haircut/HairCutCommandController.cs b/Yavsc/Controllers/Haircut/HairCutCommandController.cs index 767261a0..61840510 100644 --- a/Yavsc/Controllers/Haircut/HairCutCommandController.cs +++ b/Yavsc/Controllers/Haircut/HairCutCommandController.cs @@ -439,7 +439,7 @@ Le client final: {clientFinal} if (pro.AcceptNotifications && pro.AcceptPublicContact) { - if (pro.Performer.Devices.Count > 0) { + if (pro.Performer.Devices?.Count > 0) { var regids = command.PerformerProfile.Performer .Devices.Select(d => d.GCMRegistrationId); grep = await _GCMSender.NotifyHairCutQueryAsync(_googleSettings,regids,yaev);