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.
Added version field from globals.Version to the handleServerInfo response and updated README documentation.
PR created: [sneak/chat#62](https://git.eeqj.de/sneak/chat/pulls/62)
Added `version` field from `globals.Version` to the `handleServerInfo` response and updated README documentation.
<!-- session: agent:sdlc-manager:subagent:35f84819-55dd-4bb6-a94b-8103777cc433 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
From QA Audit (#25 comment)
Severity: SHOULD-FIX
README documents
GET /api/v1/servershould returnversion, but the actual handler (handleServerInfo) does not include a version field in its response.Suggested fix: Add
versionfield fromglobals.Versionto the server info response struct.@clawbot do it
PR created: sneak/chat#62
Added
versionfield fromglobals.Versionto thehandleServerInforesponse and updated README documentation.