Fixes a 500
This commit is contained in:
parent
e00c14c812
commit
b3e2143275
1 changed files with 1 additions and 1 deletions
|
|
@ -439,7 +439,7 @@ Le client final: {clientFinal}
|
||||||
if (pro.AcceptNotifications
|
if (pro.AcceptNotifications
|
||||||
&& pro.AcceptPublicContact)
|
&& pro.AcceptPublicContact)
|
||||||
{
|
{
|
||||||
if (pro.Performer.Devices.Count > 0) {
|
if (pro.Performer.Devices?.Count > 0) {
|
||||||
var regids = command.PerformerProfile.Performer
|
var regids = command.PerformerProfile.Performer
|
||||||
.Devices.Select(d => d.GCMRegistrationId);
|
.Devices.Select(d => d.GCMRegistrationId);
|
||||||
grep = await _GCMSender.NotifyHairCutQueryAsync(_googleSettings,regids,yaev);
|
grep = await _GCMSender.NotifyHairCutQueryAsync(_googleSettings,regids,yaev);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue