From d26c58572dc622e41a872eb81581b9f60c7dc6be Mon Sep 17 00:00:00 2001 From: Jan-Niklas Wortmann Date: Mon, 10 Feb 2025 20:05:29 -0600 Subject: [PATCH] poc fix for expand query parsing --- src/api/resources/posts/client/Client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/resources/posts/client/Client.ts b/src/api/resources/posts/client/Client.ts index 960dd1c..2210852 100644 --- a/src/api/resources/posts/client/Client.ts +++ b/src/api/resources/posts/client/Client.ts @@ -369,7 +369,7 @@ export class Posts { const _queryParams: Record = {}; if (expand != null) { if (Array.isArray(expand)) { - _queryParams["expand"] = expand.map((item) => JSON.stringify(item)); + _queryParams["expand"] = expand; } else { _queryParams["expand"] = JSON.stringify(expand); }