Skip to content

Add the GetLatestVersionId method - #247

Merged
djmitche merged 1 commit into
GothenburgBitFactory:mainfrom
djmitche:tc-740
Nov 2, 2026
Merged

djmitche merged 1 commit into
GothenburgBitFactory:mainfrom
djmitche:tc-740

Conversation

@djmitche

@djmitche djmitche commented Nov 1, 2026

Copy link
Copy Markdown
Member

This adds support for the new API method defined in GothenburgBitFactory/taskchampion#792. Refs GothenburgBitFactory/taskchampion#740.

@djmitche
djmitche requested a review from ryneeverett November 1, 2026 14:51
Comment thread server/src/api/latest_version_id.rs Outdated
.await
.map_err(server_error_to_actix)?;
Ok(HttpResponse::Ok()
.content_type(SNAPSHOT_CONTENT_TYPE)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recall if/how the content type is used but seems like HISTORY_SEGMENT_CONTENT_TYPE is more correct.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point - there's no response body so no type is necessary!

This adds support for the new API method defined in GothenburgBitFactory/taskchampion#792.
@djmitche
djmitche merged commit 383457e into GothenburgBitFactory:main Nov 2, 2026
6 of 7 checks passed
@djmitche
djmitche deleted the tc-740 branch November 3, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants