From 65069f9ea3b3d04c98601f788e0b914430a46ea8 Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Fri, 24 Jan 2025 12:33:37 -0500 Subject: [PATCH] Update three-insects-roll.md --- .changeset/three-insects-roll.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.changeset/three-insects-roll.md b/.changeset/three-insects-roll.md index bab43087e6d5..ae4f206dd83e 100644 --- a/.changeset/three-insects-roll.md +++ b/.changeset/three-insects-roll.md @@ -2,15 +2,4 @@ "@rocket.chat/meteor": patch --- -Fixes a missconception about `/v1/livechat/tags/:tagId` - -the type definition doesnt consider null/empty results -``` -'/v1/livechat/tags/:tagId': { - GET: () => ILivechatTag; - }; -``` - -the code returns `ILivechatTag | { body: null }` which is weird/wrong. - -now if we cannot find the tag returns a 404 result +Fixes a missconception about `/v1/livechat/tags/:tagId` returning 404 if tag is not found