summaryrefslogtreecommitdiff
path: root/src/api/server.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-02 21:48:02 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-02 21:48:02 +0300
commitb751d102f158968aab681cb663d27b4c32197f62 (patch)
tree85d03609314559df7705c2cb0ab4e37ab6d9715f /src/api/server.rs
parent295b09ca25edbccac65401ee84fa420dd3888aad (diff)
feat: add preview update channel
Diffstat (limited to 'src/api/server.rs')
-rw-r--r--src/api/server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/server.rs b/src/api/server.rs
index 8b4362fb..c51b46e8 100644
--- a/src/api/server.rs
+++ b/src/api/server.rs
@@ -252,7 +252,7 @@ fn handle_request(
Method::Ping(_) => serde_json::to_string(&SuccessResponse {
id: request.id,
result: ResponseResult::Pong {
- version: env!("CARGO_PKG_VERSION").into(),
+ version: crate::build_info::version(),
protocol: crate::protocol::PROTOCOL_VERSION,
capabilities,
},