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