From bd8fd3c53495a4651efa66db7aee134bdd17ed3a Mon Sep 17 00:00:00 2001 From: jaxoncreed Date: Tue, 10 Aug 2021 12:05:58 -0700 Subject: [PATCH] Fixed typing error --- src/fetcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fetcher.ts b/src/fetcher.ts index 73f362374..534348b95 100644 --- a/src/fetcher.ts +++ b/src/fetcher.ts @@ -1436,7 +1436,7 @@ export default class Fetcher implements CallbackifyInterface { if (err) { reject(err) } else { - options.data = jsonString + options.data = jsonString || undefined this.webOperation('PUT', uri, options) .then((res) => resolve(res)) .catch((error) => reject(error))