From 2e98926c1beb05139a07c43b632de8f73b873f1d Mon Sep 17 00:00:00 2001 From: Daniel Griesser Date: Fri, 24 Jul 2020 18:11:37 +0200 Subject: [PATCH] ref: Remove buffer from core package --- packages/core/src/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/request.ts b/packages/core/src/request.ts index 08884d2f8f54..611283a01a32 100644 --- a/packages/core/src/request.ts +++ b/packages/core/src/request.ts @@ -5,7 +5,7 @@ import { API } from './api'; /** A generic client request. */ export interface SentryRequest { - body: string | Buffer; + body: string; url: string; // headers would contain auth & content-type headers for @sentry/node, but // since @sentry/browser avoids custom headers to prevent CORS preflight