chore: return success for rpc response. (#350)

This commit is contained in:
Bo-Yi Wu
2018-04-11 10:14:28 +08:00
committed by GitHub
parent fea79dd14a
commit e96811ae63

View File

@@ -85,7 +85,7 @@ func (s *Server) Send(ctx context.Context, in *proto.NotificationRequest) (*prot
go gorush.SendNotification(notification)
return &proto.NotificationReply{
Success: false,
Success: true,
Counts: int32(len(notification.Tokens)),
}, nil
}