From 71e11b19f08f0d6777f7bee4f018937d635244e3 Mon Sep 17 00:00:00 2001 From: Paul Tyng Date: Mon, 31 Oct 2022 15:53:41 -0400 Subject: [PATCH] remove unused func (wrong signature) --- unifi/json.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/unifi/json.go b/unifi/json.go index b4418cc..be950a8 100644 --- a/unifi/json.go +++ b/unifi/json.go @@ -88,10 +88,3 @@ func (e *booleanishString) UnmarshalJSON(b []byte) error { } return errors.New("Could not unmarshal JSON value.") } - -func (e *booleanishString) MarshalJSON(b []byte) ([]byte, error) { - if *e { - return []byte(`"enabled"`), nil - } - return []byte(`"disabled"`), nil -}