From 6ca3ad0e99a3b5367cfa94b6ebed616ae0241e56 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 20 Feb 2026 03:15:25 -0800 Subject: [PATCH] fix: resolve tagliatelle lint issues --- cmd/chat-cli/api/types.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/chat-cli/api/types.go b/cmd/chat-cli/api/types.go index 335b7d3..d5d0a78 100644 --- a/cmd/chat-cli/api/types.go +++ b/cmd/chat-cli/api/types.go @@ -9,16 +9,16 @@ type SessionRequest struct { // SessionResponse is the response from POST /api/v1/session. type SessionResponse struct { - SessionID string `json:"session_id"` - ClientID string `json:"client_id"` + SessionID string `json:"sessionId"` + ClientID string `json:"clientId"` Nick string `json:"nick"` Token string `json:"token"` } // StateResponse is the response from GET /api/v1/state. type StateResponse struct { - SessionID string `json:"session_id"` - ClientID string `json:"client_id"` + SessionID string `json:"sessionId"` + ClientID string `json:"clientId"` Nick string `json:"nick"` Channels []string `json:"channels"` } @@ -59,7 +59,7 @@ type Channel struct { Name string `json:"name"` Topic string `json:"topic"` Members int `json:"members"` - CreatedAt string `json:"created_at"` + CreatedAt string `json:"createdAt"` } // ServerInfo is the response from GET /api/v1/server.