From dbe61c25961932e4c3ffe15361e37d4e68fc4f55 Mon Sep 17 00:00:00 2001 From: Simon Tucker Date: Sun, 12 Jan 2020 17:33:52 -0800 Subject: [PATCH] Adds config in to state report --- githubtasks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/githubtasks.go b/githubtasks.go index 3c6673d6..c0a3bfa8 100644 --- a/githubtasks.go +++ b/githubtasks.go @@ -84,7 +84,7 @@ func (s *Server) Mote(ctx context.Context, master bool) error { // GetState gets the state of the server func (s *Server) GetState() []*pbg.State { return []*pbg.State{ - &pbg.State{Key: "no", Value: int64(233)}, + &pbg.State{Key: "config", Text: fmt.Sprintf("%v", s.config)}, } }