From 3ec05df62f8dbe0fc1d27e42b7d72496a49578cf Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Fri, 13 Sep 2024 18:20:31 +0200 Subject: [PATCH] [backend/masto-client] Don't report git revision to mastodon clients --- .../Controllers/Mastodon/Schemas/InstanceInfoV1Response.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Iceshrimp.Backend/Controllers/Mastodon/Schemas/InstanceInfoV1Response.cs b/Iceshrimp.Backend/Controllers/Mastodon/Schemas/InstanceInfoV1Response.cs index 13f67d71..650d2045 100644 --- a/Iceshrimp.Backend/Controllers/Mastodon/Schemas/InstanceInfoV1Response.cs +++ b/Iceshrimp.Backend/Controllers/Mastodon/Schemas/InstanceInfoV1Response.cs @@ -13,7 +13,7 @@ public class InstanceInfoV1Response( ) { [J("stats")] public required InstanceStats Stats { get; set; } - [J("version")] public string Version => $"4.2.1 (compatible; Iceshrimp.NET/{config.Instance.Version})"; + [J("version")] public string Version => $"4.2.1 (compatible; Iceshrimp.NET/{config.Instance.RawVersion})"; [J("max_toot_chars")] public int MaxNoteChars => config.Instance.CharacterLimit; [J("uri")] public string AccountDomain => config.Instance.AccountDomain;