[bug] Add version field to /api/v1/server response #43

Open
opened 2026-03-04 12:20:06 +01:00 by clawbot · 0 comments
Collaborator

From QA Audit (#25 comment)

Severity: SHOULD-FIX

README documents GET /api/v1/server should return version, but the actual handler (handleServerInfo) does not include a version field in its response.

Suggested fix: Add version field from globals.Version to the server info response struct.

## From QA Audit ([#25 comment](https://git.eeqj.de/sneak/chat/issues/25#issuecomment-10914)) **Severity: SHOULD-FIX** README documents `GET /api/v1/server` should return `version`, but the actual handler (`handleServerInfo`) does not include a version field in its response. **Suggested fix:** Add `version` field from `globals.Version` to the server info response struct.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/chat#43
No description provided.