Skip to content

Commit 6712cbe

Browse files
committed
chore: remove unused json import from calendar handler
https://claude.ai/code/session_01QJLkgjQDu5qohzJKGV4hj9
1 parent 21b7c96 commit 6712cbe

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

internal/plugins/calendar/handler.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package calendar
22

33
import (
44
"context"
5-
"encoding/json"
65
"fmt"
76
"io"
87
"log/slog"
@@ -1351,8 +1350,7 @@ func (h *Handler) ImportFromSetupAPI(c echo.Context) error {
13511350
fmt.Sprintf("/campaigns/%s/calendars/%s/settings", cc.Campaign.ID, cal.ID))
13521351
}
13531352

1354-
// Silence unused import warnings for json and io packages.
1355-
var _ = json.Marshal
1353+
// Silence unused import warning for io package (used in request body reading).
13561354
var _ = io.ReadAll
13571355

13581356
// CalendarViewData holds all data needed to render the calendar grid.

0 commit comments

Comments
 (0)