From 2f6436989e7ed50ba45a580de5245598294051e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sat, 21 Feb 2026 21:53:17 +0100 Subject: [PATCH] pl-api: i've pretty sure done this before MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-api/lib/client.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/pl-api/lib/client.ts b/packages/pl-api/lib/client.ts index 2e252ea4b..d8d0f1a20 100644 --- a/packages/pl-api/lib/client.ts +++ b/packages/pl-api/lib/client.ts @@ -6398,10 +6398,10 @@ class PlApiClient { /** * Requires features{@link Features.antennas}. */ - addAntennaTag: async (antennaId: string, tag: string) => { + addAntennaTags: async (antennaId: string, tags: Array) => { const response = await this.request(`/api/v1/antennas/${antennaId}/tags`, { method: 'POST', - body: { tags: [tag] }, + body: { tags }, }); return response.json; @@ -6410,10 +6410,10 @@ class PlApiClient { /** * Requires features{@link Features.antennas}. */ - removeAntennaTag: async (antennaId: string, tag: string) => { + removeAntennaTags: async (antennaId: string, tags: Array) => { const response = await this.request(`/api/v1/antennas/${antennaId}/tags`, { method: 'DELETE', - body: { tags: [tag] }, + body: { tags }, }); return response.json;