diff options
Diffstat (limited to 'sub/subController.go')
| -rw-r--r-- | sub/subController.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sub/subController.go b/sub/subController.go index dc66c892..8fd39efa 100644 --- a/sub/subController.go +++ b/sub/subController.go @@ -26,6 +26,8 @@ func NewSUBController( rModel string, update string, jsonFragment string, + jsonMux string, + jsonRules string, ) *SUBController { sub := NewSubService(showInfo, rModel) a := &SUBController{ @@ -35,7 +37,7 @@ func NewSUBController( updateInterval: update, subService: sub, - subJsonService: NewSubJsonService(jsonFragment, sub), + subJsonService: NewSubJsonService(jsonFragment, jsonMux, jsonRules, sub), } a.initRouter(g) return a |
