From ecb08e86a4aa1b7961af30b154296f327773f366 Mon Sep 17 00:00:00 2001 From: christopher-weir Date: Thu, 19 Sep 2024 15:42:18 +0200 Subject: [PATCH] Use correct metadata api key --- src/traces.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/traces.ts b/src/traces.ts index 3c40968..e1c04c8 100644 --- a/src/traces.ts +++ b/src/traces.ts @@ -170,7 +170,7 @@ class Traces extends APIResource { input: stringify(input), start_time, uuid: nanoId(), - metadata, + ...(metadata && { meta: metadata }), }); if (response.ok) {