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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }