Skip to content

Commit eb54703

Browse files
committed
Linter fixes
1 parent 3591e18 commit eb54703

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/api/api.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,13 @@ func setResponseHeader(w http.ResponseWriter, key string, value string) { //noli
234234
header.Set(key, value)
235235
}
236236

237-
// registerKeepaliveRoute registers the keepalive endpoint for session management
237+
// registerKeepaliveRoute registers the keepalive endpoint for session management.
238238
func (a *API) registerKeepaliveRoute(r *mux.Router) {
239239
r.HandleFunc("/keepalive", a.handleKeepalive).Methods("GET")
240240
}
241241

242-
// handleKeepalive handles the keepalive request to maintain session
243-
// The main purpose is to keep the session alive and prevent WebSocket staleness
242+
// handleKeepalive handles the keepalive request to maintain session.
243+
// The main purpose is to keep the session alive and prevent WebSocket staleness.
244244
func (a *API) handleKeepalive(w http.ResponseWriter, r *http.Request) {
245245
userID := getUserID(r)
246246
if userID == "" {

0 commit comments

Comments
 (0)