chore: return success for rpc response. (#350)
This commit is contained in:
parent
fea79dd14a
commit
e96811ae63
|
@ -85,7 +85,7 @@ func (s *Server) Send(ctx context.Context, in *proto.NotificationRequest) (*prot
|
||||||
go gorush.SendNotification(notification)
|
go gorush.SendNotification(notification)
|
||||||
|
|
||||||
return &proto.NotificationReply{
|
return &proto.NotificationReply{
|
||||||
Success: false,
|
Success: true,
|
||||||
Counts: int32(len(notification.Tokens)),
|
Counts: int32(len(notification.Tokens)),
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue