From e96811ae63d970418ec19613e5c8427c3404f5f0 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 11 Apr 2018 10:14:28 +0800 Subject: [PATCH] chore: return success for rpc response. (#350) --- rpc/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/server.go b/rpc/server.go index b958de6..267924d 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -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 }